mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Lint JSON files with ArcanistJSONLinter
.
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
This commit is contained in:
parent
cf998db5e0
commit
b9b9c138fe
1 changed files with 9 additions and 0 deletions
9
.arclint
9
.arclint
|
@ -13,6 +13,15 @@
|
||||||
"generated": {
|
"generated": {
|
||||||
"type": "generated"
|
"type": "generated"
|
||||||
},
|
},
|
||||||
|
"json": {
|
||||||
|
"type": "json",
|
||||||
|
"include": [
|
||||||
|
"(^resources/arclint/.*\\.arclint\\.example$)",
|
||||||
|
"(^\\.arcconfig$)",
|
||||||
|
"(^\\.arclint$)",
|
||||||
|
"(\\.json$)"
|
||||||
|
]
|
||||||
|
},
|
||||||
"merge-conflict": {
|
"merge-conflict": {
|
||||||
"type": "merge-conflict"
|
"type": "merge-conflict"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue