From 5cb063bcfcc47a6e8a7b39fcec9d4936a3d61da2 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Fri, 15 Dec 2023 10:10:44 -0600 Subject: [PATCH] feat: only accept 'regular' dependencies --- index.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index ad3721d..73a68c9 100644 --- a/index.js +++ b/index.js @@ -97,7 +97,16 @@ module.exports = { { files: ["src/**"], rules: { - "import/no-extraneous-dependencies": ["error", { includeTypes: false }], + "import/no-extraneous-dependencies": [ + "error", + { + includeTypes: false, + devDependencies: false, + peerDependencies: false, + bundledDependencies: false, + optionalDependencies: false, + }, + ], }, }, ],