You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found I needed to add the names of the presets "@babel/preset-env" and "@babel/preset-react"
to my .depcheckrc "ignores" section even though I am using the babel "special".
Note that the plugin "@babel/plugin-proposal-class-properties" which follows a similar naming format, is found correctly by the babel special, so I didn't need to explicitly add it to may "ignores".
Has anyone had a similar experience or know what may be causing me to need to add those 2 babel presets to my ignores?
Any extra info you want to include. Thank you for the bug report!
BONUS POINTS: If you wish to help us debug further, the depcheck --json option will show more information. Check here in the README for documentation on json output.
The text was updated successfully, but these errors were encountered:
Bug Description
I found I needed to add the names of the presets
"@babel/preset-env"
and"@babel/preset-react"
to my
.depcheckrc
"ignores" section even though I am using the babel "special".Note that the plugin "@babel/plugin-proposal-class-properties" which follows a similar naming format, is found correctly by the babel special, so I didn't need to explicitly add it to may "ignores".
Has anyone had a similar experience or know what may be causing me to need to add those 2 babel presets to my ignores?
.depcheckrc
.babelrc
Code snippets
Where the dependency is used:
.babelrc
Where the dependency is listed in package.json:
package.json
snippetVersions
node -v
: v14.21.3npm -v
: v6.14.18depcheck --version
: v1.4.7Extra info
Any extra info you want to include. Thank you for the bug report!
BONUS POINTS: If you wish to help us debug further, the
depcheck --json
option will show more information. Check here in the README for documentation on json output.The text was updated successfully, but these errors were encountered: