1.3.0
1.3.0 (2020-11-09)
BREAKING CHANGE
If you use depcheck as a library or have a configuration file please note that the parsers configuration changes slightly:
Before:
parsers: {
// the target parsers
'*.js': depcheck.parser.jsx,
'*.jsx': depcheck.parser.jsx,
},
After:
parsers: {
// the target parsers
'**/*.js': depcheck.parser.jsx,
'**/*.jsx': depcheck.parser.jsx,
},
Fixed bugs:
- False positive: eslint import resolvers #571
Closed issues:
- false alert for React 17 #591
- false alert with typescript path aliases #590
- Allow to define patterns against absolute file path (again) #589
- Can't read property 'name' of undefined #579
- Support .*ignore files #497
Merged pull requests:
- Update dependencies #599 (rumpl)
- Support webpack's
oneOf
in rules #598 (rumpl) - Fix eslint when eslint-plugin-import is used #597 (rumpl)
- The error thrown is not always a YAML error #596 (rumpl)
- Support parser patterns based on file paths #595 (rumpl)
- Support react >= 17.0.0 that doesn't need to be imported #594 (rumpl)
- Use the promise version of the api in the example #593 (rumpl)
- Add option to run depcheck through npx #586 (elrumordelaluz)
- fix(sass-parser): ignore local import in scss #581 (YonatanKra)
- Improved webpack support #580 (cwillisf)