diff --git a/.eslintrc b/.eslintrc index d80a2c5..006b831 100644 --- a/.eslintrc +++ b/.eslintrc @@ -61,6 +61,33 @@ "jsx": "never", "tsx": "never", "ts": "never" + }], + "import/no-extraneous-dependencies": ["error", { + "devDependencies": [ + "test/**", + "tests/**", + "spec/**", + "**/__tests__/**", + "**/__mocks__/**", + "test.{[j|t]sx,[j|t]sx}", + "test-*.{[j|t]sx,[j|t]sx}", + "**/*{.,_}{test,spec}.{[j|t]sx,[j|t]sx}", + "**/jest.config.[j|t]", + "**/jest.setup.[j|t]", + "**/vue.config.[j|t]", + "**/webpack.config.[j|t]", + "**/webpack.config.*.[j|t]", + "**/rollup.config.[j|t]", + "**/rollup.config.*.[j|t]", + "**/gulpfile.[j|t]", + "**/gulpfile.*.[j|t]", + "**/Gruntfile{,.[j|t]}", + "**/protractor.conf.[j|t]", + "**/protractor.conf.*.[j|t]", + "**/karma.conf.[j|t]", + "**/.eslintrc.[j|t]" + ], + "optionalDependencies": false }] } }