mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-28 17:52:42 +01:00
b9b9c138fe
Summary: After D9628, we can lint JSON files natively. Test Plan: Linted a few JSON files manually (i.e. `arc lint --trace -- $FILE`). Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9652
59 lines
1.1 KiB
Text
59 lines
1.1 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-xhpast": {
|
|
"type": "phutil-xhpast",
|
|
"include": "(\\.php$)"
|
|
},
|
|
"phutil-library": {
|
|
"type": "phutil-library",
|
|
"include": "(\\.php$)"
|
|
},
|
|
"text": {
|
|
"type": "text"
|
|
},
|
|
"spelling": {
|
|
"type": "spelling",
|
|
"exclude": [
|
|
"(^src/lint/linter/spelling/ArcanistSpellingDefaultData\\.php$)"
|
|
]
|
|
},
|
|
"xhpast": {
|
|
"type": "xhpast",
|
|
"include": "(\\.php$)",
|
|
"severity": {
|
|
"16": "advice",
|
|
"34": "error"
|
|
},
|
|
"xhpast.php-version": "5.2.3",
|
|
"xhpast.php-version.windows": "5.3.0"
|
|
}
|
|
}
|
|
}
|