1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Minor fixes for .arclint file

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
This commit is contained in:
Joshua Spence 2014-07-03 06:49:24 +10:00
parent c1f7b72dd8
commit 5d91b2f0aa

View file

@ -11,22 +11,19 @@
"filename": { "filename": {
"type": "filename" "type": "filename"
}, },
"generated": {
"type": "generated"
},
"javelin": { "javelin": {
"type": "javelin", "type": "javelin",
"include": "(\\.js$)", "include": "(\\.js$)",
"exclude": [ "exclude": [
"(^externals/JsShrink/)", "(^support/aphlict/)"
"(^support/aphlict/)",
"(^webroot/rsrc/externals/raphael/)"
] ]
}, },
"jshint": { "jshint": {
"type": "jshint", "type": "jshint",
"include": "(\\.js$)", "include": "(\\.js$)",
"exclude": [
"(^externals/JsShrink/)",
"(^webroot/rsrc/externals/raphael/)"
],
"jshint.jshintrc": "support/jshint/jshintconfig" "jshint.jshintrc": "support/jshint/jshintconfig"
}, },
"json": { "json": {
@ -39,15 +36,16 @@
"(\\.json$)" "(\\.json$)"
] ]
}, },
"generated": {
"type": "generated"
},
"merge-conflict": { "merge-conflict": {
"type": "merge-conflict" "type": "merge-conflict"
}, },
"nolint": { "nolint": {
"type": "nolint" "type": "nolint"
}, },
"phutil-library": {
"type": "phutil-library",
"include": "(\\.php$)"
},
"phutil-xhpast": { "phutil-xhpast": {
"type": "phutil-xhpast", "type": "phutil-xhpast",
"include": "(\\.php$)", "include": "(\\.php$)",
@ -55,9 +53,8 @@
"phutil_escape_html": "The phutil_escape_html() function is deprecated. Raw strings passed to phutil_tag() or hsprintf() are escaped automatically." "phutil_escape_html": "The phutil_escape_html() function is deprecated. Raw strings passed to phutil_tag() or hsprintf() are escaped automatically."
} }
}, },
"phutil-library": { "spelling": {
"type": "phutil-library", "type": "spelling"
"include": "(\\.php$)"
}, },
"text": { "text": {
"type": "text", "type": "text",
@ -74,9 +71,6 @@
"(^\\.arclint)" "(^\\.arclint)"
] ]
}, },
"spelling": {
"type": "spelling"
},
"xhpast": { "xhpast": {
"type": "xhpast", "type": "xhpast",
"include": "(\\.php$)", "include": "(\\.php$)",
@ -84,7 +78,9 @@
"16": "advice", "16": "advice",
"34": "error" "34": "error"
}, },
"xhpast.naminghook": "PhabricatorSymbolNameLinter" "xhpast.naminghook": "PhabricatorSymbolNameLinter",
"xhpast.php-version": "5.2.3",
"xhpast.php-version.windows": "5.3.0"
} }
} }
} }