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

fix(lintstaged): Setup lintstaged #2

Open
JaeAeich opened this issue Aug 14, 2023 · 0 comments
Open

fix(lintstaged): Setup lintstaged #2

JaeAeich opened this issue Aug 14, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@JaeAeich
Copy link
Collaborator

Description

Lintstaged is installed, but its functionality is not used to its full extent. Husky is linting and formatting every file, but the expected behavior should be that only the changed files should be linted and formatted.

Expected outcome

Commits shouldn't require linting and formatting all the files.

Proposed solution

Change the config file, specify which files need to be linted and formatted, and then use git hook (husky) to lint only staged files, use lintstaged as the library is already installed.

@JaeAeich JaeAeich added bug Something isn't working enhancement New feature or request labels Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant