From dba366815d924d9dc572bc258ae3a4e302c60237 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Tue, 30 Jan 2018 10:36:08 -0500 Subject: [PATCH] Restore JSON linting --- .eslintrc.js | 3 ++- Makefile | 2 +- src/.eslintrc.js | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 36ff570d9..e36c70b52 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,3 +1,4 @@ module.exports = { - extends: ['scratch', 'scratch/node'] + extends: ['scratch', 'scratch/node'], + plugins: ['json'] }; diff --git a/Makefile b/Makefile index abe7f3a72..65a57a3ac 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ test: @make tap lint: - $(ESLINT) . --ext .js,.jsx + $(ESLINT) . --ext .js,.jsx,.json $(SASSLINT) ./src/*.scss $(SASSLINT) ./src/**/*.scss diff --git a/src/.eslintrc.js b/src/.eslintrc.js index 0abd74d67..455a50634 100644 --- a/src/.eslintrc.js +++ b/src/.eslintrc.js @@ -6,5 +6,6 @@ module.exports = { }, globals: { process: true - } + }, + plugins: ['json'] };