Skip to content

Linter shows error when disabling eslint rules #9

@alicerocheman

Description

@alicerocheman

The Accessibiliy DevTools linter shows error on such lines:

// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
() => tabs.find(({ _key }) => _key === "myKey")!,

The error:

Definition for rule '@typescript-eslint/no-non-null-assertion' was not found.Accessibility DevTools(no-non-null-assertion)

The '@typescript-eslint/no-non-null-assertion' rule does exist, as when I remove my eslint-disable, i get a lint error for this rule.

Before adding Accessibiliy DevTools I had no issue with this kind of line.

I have to disable Accessibiliy DevTools until the issue is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions