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'] };