mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-22 13:30:54 +01:00
f2a3fdf5e3
Summary: Ref T5105. This is a proof-of-concept for D11458. Test Plan: `arc lint --everything` Reviewers: chad, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T5105 Differential Revision: https://secure.phabricator.com/D11640
59 lines
1.2 KiB
Text
59 lines
1.2 KiB
Text
{
|
|
"exclude": [
|
|
"(^externals/)"
|
|
],
|
|
"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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|