-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
I added |
EDITED: Do we need to add a Also about the |
|
and about making the pre-commit hook a fix instead of prepush lint or prepush fix? |
I didn't want to make it on pre-commit since it lints all files not just the ones in the commit. I think pre-push is fine. Ideally their IDE will be alerting them of errors as they type but if not pre-push is just the catch all. |
I was thinking, if the existing code is already linted and fixed.... The only upside is not having to ask a user to run a fix script with their PR's right? I thought the point of having a standard is so we dont review ugly code or ask users to run fix, which if the pre-existeing code is not linted/fixed we end up with a unrelated fixes anyway. Doesnt make sense not to have it but I will redirect users to run the fix script with PR.s |
The pre-push hook runs before they push code to their PR branches so it shouldn't let them push code to PRs that fails linting. |
🎉 This PR is included in version 4.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
use
standard
config for eslint