mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 00:02:40 +01:00
d4ed44682d
Summary: Self-explanatory. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11500
72 lines
1.4 KiB
Text
72 lines
1.4 KiB
Text
{
|
|
"exclude": [
|
|
"(^externals/)",
|
|
"(\\.lint-test$)"
|
|
],
|
|
"linters": {
|
|
"chmod": {
|
|
"type": "chmod"
|
|
},
|
|
"filename": {
|
|
"type": "filename"
|
|
},
|
|
"generated": {
|
|
"type": "generated"
|
|
},
|
|
"json": {
|
|
"type": "json",
|
|
"include": [
|
|
"(^resources/arclint/.*\\.arclint\\.example$)",
|
|
"(^\\.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$)"
|
|
},
|
|
"spelling": {
|
|
"type": "spelling",
|
|
"exclude": "(^resources/spelling/.*\\.json$)"
|
|
},
|
|
"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.blacklisted.function": {
|
|
"eval": "The eval() function should be avoided. It is potentially unsafe and makes debugging more difficult."
|
|
},
|
|
"xhpast.php-version": "5.2.3",
|
|
"xhpast.php-version.windows": "5.3.0"
|
|
}
|
|
}
|
|
}
|