-
Notifications
You must be signed in to change notification settings - Fork 148
Check formatting and eslint in CI + review pre-commit hook #210
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
Comments
I can see already an issue: Another issue we might have: pre-commit hook in .huskyrc
.lintstagedrc
|
Note that I'm not reusing any of our scripts from |
what about updating the lint-staged version? It's a dev dependency. Or is it anything that might block us? |
Updating both husky and lint-staged would be great actually! |
ok I think I can probably check it in the incoming days. I'm taking it |
I've seen the current repo has lot of ESLint errors, so maybe we can do this over v4 to do this over next changes? |
Do you mean to apply the changes directly on v4? Sure I can do that. |
🎉 This issue has been resolved in version 4.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
There have been a few PRs that had style modifications in files or Readme examples of code that were no actual changes as part of the PR that was being opened.
We are not enforcing our defined styling enough (I think it's only run in a
pre-commit
hook) which can be skipped. This ticket is toReview the pre-commit hook to ensure it is actually working, and (except for manual skip by the dev) that it always runs when committing new code
Update our CI process to verify the code to be merged is following the eslint and prettier rules, preventing new code from being merged if it does not follow our style guide
The text was updated successfully, but these errors were encountered: