Skip to content

Linting is showing error twice #732

@news-manishpatel

Description

@news-manishpatel

Description of the bug

Description of the bug

It seems to show a js and ts version. Can this be fixed so it only shows 1 ideally the js one because this is not a TS file.

Image

Steps To Reproduce

Create a jsx file with a import that is not used and observe the two error messages.

Additional Information

When you run linting and it shows double the errors your heart feels it and then it settles knowing it is double reporting.

It was discussed here: alleyinteractive/create-wordpress-plugin#430

Steps To Reproduce

Why tsx code with an error and observe the double lint error.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions