[import/no-extraneous-dependencies] 2.20.1 regression - false negatives
See original GitHub issueThe rule stopped working for me in 2.20.1.
Rule config:
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["server/**", "tests/**"],
"optionalDependencies": false,
"peerDependencies": false
}
],
devDependencies
in package.json
:
...
"ember-qunit": "^4.4.1",
"qunit-dom": "^1.0.0",
...
In my tests:
import { module, test } from "qunit";
Actual result: no warnings from import/no-extraneous-dependencies
.
Expected result: there should be a warning from import/no-extraneous-dependencies
saying that I have an extraneous qunit
dependency.
Environment info:
OS: Win 10 x64 Node: v12.15.0 npm: 6.13.4
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
False-negative results of initial RT-PCR assays for COVID-19
We calculated the proportion of false-negative test results using a multilevel mixed-effect logistic regression model. The certainty of the ...
Read more >True vs. False and Positive vs. Negative | Machine Learning
A false positive is an outcome where the model incorrectly predicts the positive class. And a false negative is an outcome where the...
Read more >At-Home COVID-19 Antigen Tests-Take Steps to Reduce Your ...
The FDA recommends repeat testing following a negative result to reduce ... Your Risk of False Negative Results: FDA Safety Communication.
Read more >False Positives, False Negatives, and False Analyses
To test for bias in form as a function of race, we calculated a series of logistic regression mod els predicting each of...
Read more >Practices of Science: False Positives and False Negatives
All tests have a chance of resulting in false positive and false negative errors. They are an unavoidable problem in scientific testing. This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue is no longer reproducible on 2.22.1.
I also have problem with 2.20.1 version. In my case I use eslint-import-resolver-webpack to resolve aliases. From version 2.20.1 I get the import/no-extraneous-dependencies error for all my imports of react event though it is aliased in webpack.config.js (this is working in version 2.20.0).
OSX 10.14.6 Node v10.17.0 Npm 6.11.3