diff --git a/.eslintrc.json b/.eslintrc.json index 7befa35..b1e397e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,11 +1,21 @@ { "env": { "browser": true, - "es6": true, - "jest": true + "es6": true }, "parserOptions": { "ecmaVersion": 2020 }, - "extends": "airbnb-base" + "extends": "airbnb-base", + "overrides": [ + { + "files": [ + "**/*.spec.js", + "**/__tests__/*" + ], + "env": { + "jest": true + } + } + ] }