From bef68ee081ec27c338b20e5a7da522e4f6944ac1 Mon Sep 17 00:00:00 2001 From: weboko Date: Fri, 23 Dec 2022 00:17:46 +0100 Subject: [PATCH] add lint rule to warn about missing deps in workspaces --- .eslintrc.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index c708935886..21b37c369e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,6 +28,10 @@ { "newlines-between": "always", "alphabetize": { "order": "asc" } } ], "no-constant-condition": ["error", { "checkLoops": false }], + "import/no-extraneous-dependencies": [ + "error", + { "devDependencies": false } + ], "sort-imports": [ "error", { "ignoreDeclarationSort": true, "ignoreCase": true }