Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

@typescript-eslint/utils dependency is missing #456

@Grmiade

Description

@Grmiade

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions