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
This is inspired by something I'm running into with a project in my team.
Currently the pre-commit lint hook runs the linter against all qualifying (js, ts, jsx, tsx, ...) files in the project even if they are not staged. This is helpful in maintaining the code quality of committed code but it can become obtrusive when trying to commit a subset of changed files. We should investigate options for linting only staged files so that commits are not blocked in situations where staged files pass the linting rules but unstaged files do not comply with the rules.
This is inspired by something I'm running into with a project in my team.
Currently the pre-commit lint hook runs the linter against all qualifying (js, ts, jsx, tsx, ...) files in the project even if they are not staged. This is helpful in maintaining the code quality of committed code but it can become obtrusive when trying to commit a subset of changed files. We should investigate options for linting only staged files so that commits are not blocked in situations where staged files pass the linting rules but unstaged files do not comply with the rules.
Possible packages to help:
The text was updated successfully, but these errors were encountered: