-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some dependencies are extraneous #92
Labels
bug
Something isn't working
Comments
coderaiser
added a commit
that referenced
this issue
Dec 15, 2021
Thank you! Fixed in |
coderaiser
added a commit
that referenced
this issue
Dec 15, 2021
coderaiser
added a commit
that referenced
this issue
Dec 15, 2021
Thanks :), just added. |
It works now! Thanks for a quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, the
try-catch
is used here:putout/packages/engine-parser/lib/second-chance.js
Line 3 in 68d2707
but it's declared in
devDependencies
, notdependencies
:putout/packages/engine-parser/package.json
Lines 48 to 68 in 68d2707
And if you use Yarn v3, it will give you the following error:
The solution for this particular case is to move
try-catch
fromdevDependencies
todependencies
.But I suspect there might be similar problems in other Putout packages, so I would highly recommend enabling the
import/no-extraneous-dependencies
rule and checking all Putout packages.Original issue: EvgenyOrekhov/eslint-config-hardcore#385.
The text was updated successfully, but these errors were encountered: