This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
@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! |
This was referenced Jun 26, 2024
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
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: