From b9b9c138fe8b0c5cd7e40a3016a6d2c83010852a Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 23 Jun 2014 01:55:48 +1000 Subject: [PATCH] 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 --- .arclint | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.arclint b/.arclint index 019225f6..ac66b697 100644 --- a/.arclint +++ b/.arclint @@ -13,6 +13,15 @@ "generated": { "type": "generated" }, + "json": { + "type": "json", + "include": [ + "(^resources/arclint/.*\\.arclint\\.example$)", + "(^\\.arcconfig$)", + "(^\\.arclint$)", + "(\\.json$)" + ] + }, "merge-conflict": { "type": "merge-conflict" },