Skip to content

Commit 6f46365

Browse files
clydinjosephperrott
authored andcommitted
test: disable import/no-extraneous-dependencies eslint rule due to false positives
Within the repository nested package.json files may be used for secondary entrypoints, side effect marking, and/or module type definition. However, the rule considers them as root package.json files and as a result issues errors due to the otherwise intended lack of dependencies in the nested package.json files.
1 parent 1cb07ca commit 6f46365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"import/newline-after-import": "error",
4343
"import/no-absolute-path": "error",
4444
"import/no-duplicates": "error",
45-
"import/no-extraneous-dependencies": ["error", { "devDependencies": false }],
45+
"import/no-extraneous-dependencies": ["off", { "devDependencies": false }],
4646
"import/no-unassigned-import": ["error", { "allow": ["symbol-observable"] }],
4747
"import/order": [
4848
"error",

0 commit comments

Comments
 (0)