.arclint 1.8 KB
Newer Older
1 2 3
{
  "exclude": [
    "(^externals/)",
4 5
    "(^webroot/rsrc/externals/(?!javelin/))",
    "(/__tests__/data/)"
6 7
  ],
  "linters": {
8 9 10
    "chmod": {
      "type": "chmod"
    },
11 12 13
    "filename": {
      "type": "filename"
    },
14 15 16
    "generated": {
      "type": "generated"
    },
17 18 19 20
    "javelin": {
      "type": "javelin",
      "include": "(\\.js$)",
      "exclude": [
21
        "(^support/aphlict/)"
22 23
      ]
    },
24
    "jshint-browser": {
25 26
      "type": "jshint",
      "include": "(\\.js$)",
27
      "exclude": [
28 29
        "(^support/aphlict/server/.*\\.js$)",
        "(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
30 31 32 33 34 35
      ],
      "jshint.jshintrc": "support/lint/browser.jshintrc"
    },
    "jshint-node": {
      "type": "jshint",
      "include": [
36 37
        "(^support/aphlict/server/.*\\.js$)",
        "(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
38 39
      ],
      "jshint.jshintrc": "support/lint/node.jshintrc"
40
    },
41 42 43
    "json": {
      "type": "json",
      "include": [
44
        "(^src/docs/book/.*\\.book$)",
45
        "(^support/lint/jshintrc$)",
46 47 48 49 50
        "(^\\.arcconfig$)",
        "(^\\.arclint$)",
        "(\\.json$)"
      ]
    },
51 52 53 54 55 56
    "merge-conflict": {
      "type": "merge-conflict"
    },
    "nolint": {
      "type": "nolint"
    },
57 58 59 60 61 62
    "phutil-library": {
      "type": "phutil-library",
      "include": "(\\.php$)"
    },
    "spelling": {
      "type": "spelling"
63
    },
64
    "text": {
65 66 67 68 69 70 71 72 73 74 75 76 77
      "type": "text",
      "exclude": [
        "(^src/(.*/)?__tests__/[^/]+/.*\\.(txt|json))"
      ]
    },
    "text-without-length": {
      "type": "text",
      "include": [
        "(^src/(.*/)?__tests__/[^/]+/.*\\.(txt|json))"
      ],
      "severity": {
        "3": "disabled"
      }
78 79 80 81
    },
    "xhpast": {
      "type": "xhpast",
      "include": "(\\.php$)",
82
      "standard": "phutil.xhpast"
83 84 85
    }
  }
}