mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 02:24:10 +08:00
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.
This commit is contained in:
parent
1cb07caddc
commit
6f46365ec3
@ -42,7 +42,7 @@
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-absolute-path": "error",
|
||||
"import/no-duplicates": "error",
|
||||
"import/no-extraneous-dependencies": ["error", { "devDependencies": false }],
|
||||
"import/no-extraneous-dependencies": ["off", { "devDependencies": false }],
|
||||
"import/no-unassigned-import": ["error", { "allow": ["symbol-observable"] }],
|
||||
"import/order": [
|
||||
"error",
|
||||
|
Loading…
x
Reference in New Issue
Block a user