mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
566f8ab9aa
Summary: Ref T2039. This diff is the equivalent to D9057, but for rP. Depends on D9066. Test Plan: Ran `arc lint` and ensure it doesn't complain about the `.arclint` file. Reviewers: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T2039 Differential Revision: https://secure.phabricator.com/D9064
61 lines
1.3 KiB
Text
61 lines
1.3 KiB
Text
{
|
|
"exclude": [
|
|
"(^externals/)",
|
|
"(\\.lint-test$)"
|
|
],
|
|
"linters": {
|
|
"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/)"
|
|
]
|
|
},
|
|
"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."
|
|
}
|
|
},
|
|
"text": {
|
|
"type": "text"
|
|
},
|
|
"spelling": {
|
|
"type": "spelling"
|
|
},
|
|
"xhpast": {
|
|
"type": "xhpast",
|
|
"include": "(\\.php$)",
|
|
"severity": {
|
|
"16": "advice",
|
|
"29": "warning",
|
|
"31": "error",
|
|
"34": "error",
|
|
"35": "error"
|
|
}
|
|
}
|
|
}
|
|
}
|