diff --git a/.eslintrc b/.eslintrc index 2be0a4a3..d2789709 100644 --- a/.eslintrc +++ b/.eslintrc @@ -85,6 +85,16 @@ ] } ], - "object-shorthand": "error" + "object-shorthand": "error", + "import/no-extraneous-dependencies": [ + "error", + { + "devDependencies": [ + "**/*.spec.[jt]s" + ], + "optionalDependencies": false, + "peerDependencies": false + } + ] } }