mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-22 05:20:55 +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": {
|
||||
"type": "generated"
|
||||
},
|
||||
"json": {
|
||||
"type": "json",
|
||||
"include": [
|
||||
"(^resources/arclint/.*\\.arclint\\.example$)",
|
||||
"(^\\.arcconfig$)",
|
||||
"(^\\.arclint$)",
|
||||
"(\\.json$)"
|
||||
]
|
||||
},
|
||||
"merge-conflict": {
|
||||
"type": "merge-conflict"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue