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
@typescript-eslint/utils
dependency is missing
#456
Milestone
Comments
(Also for reference: #453 (comment)) |
This was referenced Apr 1, 2024
ericmorand-sonarsource
added a commit
to ericmorand-sonarsource/eslint-plugin-sonarjs
that referenced
this issue
Apr 2, 2024
ericmorand-sonarsource
added a commit
that referenced
this issue
Apr 3, 2024
@Grmiade, version 0.25.1 - fixing the issue - was released. Can you please give it a try and let us know how it goes? |
It works for me using the latest version, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have this error with the
0.25.0
version:Error: Failed to load plugin 'sonarjs' declared in '.eslintrc » eslint-config-payfit/rules/common/sonarjs': eslint-plugin-sonarjs tried to access @typescript-eslint/utils, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
@typescript-eslint/utils
should be declared as a dependency.See https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/src/rules/no-use-of-empty-return-value.ts#L22 by example.
The text was updated successfully, but these errors were encountered: