mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
5d91b2f0aa
Summary: Minor fixes for the `.arclint` file. Specifically: - Don't explicitly lint excluded paths (they are already excluded globally) - Set the `xhpast.php-version` and `xhpast.php-version.windows` configuration (this should have been done in D9593, but wasn't) - Sort `.arclint` linters alpahbetically Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9803
86 lines
1.8 KiB
Text
86 lines
1.8 KiB
Text
{
|
|
"exclude": [
|
|
"(^externals/)",
|
|
"(^webroot/rsrc/externals/)",
|
|
"(/__tests__/data/)"
|
|
],
|
|
"linters": {
|
|
"chmod": {
|
|
"type": "chmod"
|
|
},
|
|
"filename": {
|
|
"type": "filename"
|
|
},
|
|
"generated": {
|
|
"type": "generated"
|
|
},
|
|
"javelin": {
|
|
"type": "javelin",
|
|
"include": "(\\.js$)",
|
|
"exclude": [
|
|
"(^support/aphlict/)"
|
|
]
|
|
},
|
|
"jshint": {
|
|
"type": "jshint",
|
|
"include": "(\\.js$)",
|
|
"jshint.jshintrc": "support/jshint/jshintconfig"
|
|
},
|
|
"json": {
|
|
"type": "json",
|
|
"include": [
|
|
"(^src/docs/book/.*\\.book$)",
|
|
"(^support/jshint/jshintconfig$)",
|
|
"(^\\.arcconfig$)",
|
|
"(^\\.arclint$)",
|
|
"(\\.json$)"
|
|
]
|
|
},
|
|
"merge-conflict": {
|
|
"type": "merge-conflict"
|
|
},
|
|
"nolint": {
|
|
"type": "nolint"
|
|
},
|
|
"phutil-library": {
|
|
"type": "phutil-library",
|
|
"include": "(\\.php$)"
|
|
},
|
|
"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."
|
|
}
|
|
},
|
|
"spelling": {
|
|
"type": "spelling"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"exclude": [
|
|
"(^\\.arclint)"
|
|
]
|
|
},
|
|
"text-without-length": {
|
|
"type": "text",
|
|
"severity": {
|
|
"3": "disabled"
|
|
},
|
|
"include": [
|
|
"(^\\.arclint)"
|
|
]
|
|
},
|
|
"xhpast": {
|
|
"type": "xhpast",
|
|
"include": "(\\.php$)",
|
|
"severity": {
|
|
"16": "advice",
|
|
"34": "error"
|
|
},
|
|
"xhpast.naminghook": "PhabricatorSymbolNameLinter",
|
|
"xhpast.php-version": "5.2.3",
|
|
"xhpast.php-version.windows": "5.3.0"
|
|
}
|
|
}
|
|
}
|