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