You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linting makes more sense when run before committing your code. By doing so you can ensure no errors go into the repository and enforce code style. But running a lint process on a whole project is slow and linting results can be irrelevant. Ultimately you only want to lint files that will be committed.
I've setup lint-staged with husky in the past in one of my React App. I found it quite useful when working with a lot of people hence suggesting it here.
Expected Behavior
No new linting issues
Actual Behavior
There are no such pre-commit linters
The text was updated successfully, but these errors were encountered:
Description
Linting makes more sense when run before committing your code. By doing so you can ensure no errors go into the repository and enforce code style. But running a lint process on a whole project is slow and linting results can be irrelevant. Ultimately you only want to lint files that will be committed.
I've setup lint-staged with husky in the past in one of my React App. I found it quite useful when working with a lot of people hence suggesting it here.
Expected Behavior
No new linting issues
Actual Behavior
There are no such pre-commit linters
The text was updated successfully, but these errors were encountered: