Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eslint to be run pre-commit #3064

Open
konstantinabl opened this issue Oct 4, 2024 · 0 comments
Open

Add eslint to be run pre-commit #3064

konstantinabl opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@konstantinabl
Copy link
Collaborator

Problem

Currently, we have eslint but it is not actually used when committing and thus not enforcing any useful rules like for example sort-imports, which leads to different PRs rearranging imports and flooding PRs with unneeded changes. On top of this, eslint offers many other benefits that ensure code quality and consistency.

Solution

Add eslint to the husky pre-commit script

Alternatives

No response

@konstantinabl konstantinabl added the enhancement New feature or request label Oct 4, 2024
@konstantinabl konstantinabl self-assigned this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant