alleyinteractive / alleyinteractive/alley-scripts

Linting is showing error twice

Open
#732 0 comments 0 reactions 1 assignee Claimed by @renatonascalves View on GitHub
bug
Dominant language
TypeScript
Stars
10
Forks
3
Avg merge
4d 22h
Merged PRs (30d)
2

Description

### 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](https://github.com/user-attachments/assets/f5be462b-8d4a-46c7-b3fd-588156ded0ea)

### 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: https://github.com/alleyinteractive/create-wordpress-plugin/issues/430

### Steps To Reproduce

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

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.