Integration of lint-staged and husky for pre-commit formatting #2854
Closed
matvasenin
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
If you set up the LSP integration with your editor or IDE, it will take care of formatting automatically on save, so you won't commit any unformatted code. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
At the moment, there are no pre-commit checks for code style, which allows unformatted code to be committed. If such commits are included in a pull request, they cause build errors.
So, the question is simple: is there any reason not to use pre-commit hooks with the help of lint-staged and husky (or lefthook for runtime agnosticism) in this project?
Beta Was this translation helpful? Give feedback.
All reactions