2014-05-12 13:47:24 +02:00
|
|
|
{
|
|
|
|
"exclude": [
|
|
|
|
"(^externals/)",
|
|
|
|
"(\\.lint-test$)"
|
|
|
|
],
|
|
|
|
"linters": {
|
2014-05-19 03:09:33 +02:00
|
|
|
"chmod": {
|
|
|
|
"type": "chmod"
|
|
|
|
},
|
2014-05-12 13:47:24 +02:00
|
|
|
"filename": {
|
|
|
|
"type": "filename"
|
|
|
|
},
|
|
|
|
"javelin": {
|
|
|
|
"type": "javelin",
|
|
|
|
"include": "(\\.js$)",
|
|
|
|
"exclude": [
|
|
|
|
"(^externals/JsShrink/)",
|
|
|
|
"(^support/aphlict/)",
|
|
|
|
"(^webroot/rsrc/externals/raphael/)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"jshint": {
|
|
|
|
"type": "jshint",
|
|
|
|
"include": "(\\.js$)",
|
|
|
|
"exclude": [
|
|
|
|
"(^externals/JsShrink/)",
|
|
|
|
"(^webroot/rsrc/externals/raphael/)"
|
2014-05-12 15:01:30 +02:00
|
|
|
],
|
|
|
|
"flags": ["--config=support/jshint/jshintconfig"]
|
2014-05-12 13:47:24 +02:00
|
|
|
},
|
|
|
|
"generated": {
|
|
|
|
"type": "generated"
|
|
|
|
},
|
|
|
|
"merge-conflict": {
|
|
|
|
"type": "merge-conflict"
|
|
|
|
},
|
|
|
|
"nolint": {
|
|
|
|
"type": "nolint"
|
|
|
|
},
|
|
|
|
"phutil-xhpast": {
|
|
|
|
"type": "phutil-xhpast",
|
|
|
|
"include": "(\\.php$)",
|
|
|
|
"phutil-xhpast.deprecated.functions": {
|
|
|
|
"phutil_escape_html": "The phutil_escape_html() function is deprecated. Raw strings passed to phutil_tag() or hsprintf() are escaped automatically."
|
|
|
|
}
|
|
|
|
},
|
2014-05-12 15:01:30 +02:00
|
|
|
"phutil-library": {
|
|
|
|
"type": "phutil-library",
|
|
|
|
"include": "(\\.php$)"
|
|
|
|
},
|
2014-05-12 13:47:24 +02:00
|
|
|
"text": {
|
2014-05-12 15:01:30 +02:00
|
|
|
"type": "text",
|
|
|
|
"exclude": [
|
|
|
|
"(^\\.arclint)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"text-without-length": {
|
|
|
|
"type": "text",
|
|
|
|
"severity": {
|
|
|
|
"3": "disabled"
|
|
|
|
},
|
|
|
|
"include": [
|
|
|
|
"(^\\.arclint)"
|
|
|
|
]
|
2014-05-12 13:47:24 +02:00
|
|
|
},
|
|
|
|
"spelling": {
|
|
|
|
"type": "spelling"
|
|
|
|
},
|
|
|
|
"xhpast": {
|
|
|
|
"type": "xhpast",
|
|
|
|
"include": "(\\.php$)",
|
|
|
|
"severity": {
|
|
|
|
"16": "advice",
|
|
|
|
"29": "warning",
|
|
|
|
"31": "error",
|
|
|
|
"34": "error",
|
|
|
|
"35": "error"
|
2014-05-12 15:01:30 +02:00
|
|
|
},
|
|
|
|
"xhpast.naminghook": "PhabricatorSymbolNameLinter"
|
2014-05-12 13:47:24 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|