2014-05-12 04:47:24 -07:00
|
|
|
{
|
|
|
|
"exclude": [
|
|
|
|
"(^externals/)",
|
2015-02-12 07:00:12 +11:00
|
|
|
"(^webroot/rsrc/externals/(?!javelin/))"
|
2014-05-12 04:47:24 -07:00
|
|
|
],
|
|
|
|
"linters": {
|
2014-05-18 18:09:33 -07:00
|
|
|
"chmod": {
|
|
|
|
"type": "chmod"
|
|
|
|
},
|
2014-05-12 04:47:24 -07:00
|
|
|
"filename": {
|
|
|
|
"type": "filename"
|
|
|
|
},
|
2014-07-03 06:49:24 +10:00
|
|
|
"generated": {
|
|
|
|
"type": "generated"
|
|
|
|
},
|
2014-05-12 04:47:24 -07:00
|
|
|
"javelin": {
|
|
|
|
"type": "javelin",
|
|
|
|
"include": "(\\.js$)",
|
|
|
|
"exclude": [
|
2014-07-03 06:49:24 +10:00
|
|
|
"(^support/aphlict/)"
|
2014-05-12 04:47:24 -07:00
|
|
|
]
|
|
|
|
},
|
2014-12-30 03:01:58 -08:00
|
|
|
"jshint-browser": {
|
2014-05-12 04:47:24 -07:00
|
|
|
"type": "jshint",
|
|
|
|
"include": "(\\.js$)",
|
2014-12-30 03:01:58 -08:00
|
|
|
"exclude": [
|
2015-01-14 07:07:46 +11:00
|
|
|
"(^support/aphlict/server/.*\\.js$)",
|
|
|
|
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
|
2014-12-30 03:01:58 -08:00
|
|
|
],
|
|
|
|
"jshint.jshintrc": "support/lint/browser.jshintrc"
|
|
|
|
},
|
|
|
|
"jshint-node": {
|
|
|
|
"type": "jshint",
|
|
|
|
"include": [
|
2015-01-14 07:07:46 +11:00
|
|
|
"(^support/aphlict/server/.*\\.js$)",
|
|
|
|
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
|
2014-12-30 03:01:58 -08:00
|
|
|
],
|
|
|
|
"jshint.jshintrc": "support/lint/node.jshintrc"
|
2014-05-12 04:47:24 -07:00
|
|
|
},
|
2014-06-23 01:55:42 +10:00
|
|
|
"json": {
|
|
|
|
"type": "json",
|
|
|
|
"include": [
|
2014-06-24 04:26:06 +10:00
|
|
|
"(^src/docs/book/.*\\.book$)",
|
2014-07-16 22:07:55 +10:00
|
|
|
"(^support/lint/jshintrc$)",
|
2014-06-23 01:55:42 +10:00
|
|
|
"(^\\.arcconfig$)",
|
|
|
|
"(^\\.arclint$)",
|
|
|
|
"(\\.json$)"
|
|
|
|
]
|
|
|
|
},
|
2014-05-12 04:47:24 -07:00
|
|
|
"merge-conflict": {
|
|
|
|
"type": "merge-conflict"
|
|
|
|
},
|
|
|
|
"nolint": {
|
|
|
|
"type": "nolint"
|
|
|
|
},
|
2014-07-03 06:49:24 +10:00
|
|
|
"phutil-library": {
|
|
|
|
"type": "phutil-library",
|
|
|
|
"include": "(\\.php$)"
|
|
|
|
},
|
|
|
|
"spelling": {
|
|
|
|
"type": "spelling"
|
2014-05-12 06:01:30 -07:00
|
|
|
},
|
2014-05-12 04:47:24 -07:00
|
|
|
"text": {
|
2016-03-09 07:01:23 -08:00
|
|
|
"type": "text",
|
|
|
|
"exclude": [
|
|
|
|
"(^src/(.*/)?__tests__/[^/]+/.*\\.(txt|json))"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"text-without-length": {
|
|
|
|
"type": "text",
|
|
|
|
"include": [
|
|
|
|
"(^src/(.*/)?__tests__/[^/]+/.*\\.(txt|json))"
|
|
|
|
],
|
|
|
|
"severity": {
|
|
|
|
"3": "disabled"
|
|
|
|
}
|
2014-05-12 04:47:24 -07:00
|
|
|
},
|
|
|
|
"xhpast": {
|
|
|
|
"type": "xhpast",
|
|
|
|
"include": "(\\.php$)",
|
2015-11-13 07:09:12 +11:00
|
|
|
"standard": "phutil.xhpast"
|
2014-05-12 04:47:24 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|