-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
chore: upgrade husky and lint-staged #144
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
Conversation
can you update message to conventional commits standard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this is working, I just pulled your branch, yarn install
ed and tried to commit with "TEST ME", and it succeeded:
✔ Running linters...
[pr/ikeryo1182/144 22e2070] TEST ME
That should have failed commit message validation.
Please can you verify that there is no change in behaviour before and after this PR?
thats weird, its working on windows, maybe there is issues with mac only? |
I will try a completely fresh install |
Nuked all my node_modules and ran
I tried on both a .md and a .ts file |
I tried with the following changes and then it seems to have worked well on Mac.
result:
|
@armano2 Does it still work for you on windows after the change? |
i cleaned up node_modules and its working fine most likely |
Fixes typescript-eslint#144 Requires ~~typescript-eslint#259~~, ~~typescript-eslint#260~~. - added a util to make it standardised and easier to add default config for a rule - configured recommended based on typescript-eslint#144 - purposely switched `recommended` prop to be `"error" | "warning" | false` - inside the eslint repo, it should be `true`. otherwise it's just a property that isn't used officially by eslint. It's truthy so `eslint-docs` still work. - changed recommended generator to accept `"error"`/`"warning"` for more configurability. - adjusted default config of certain rules that didn't match our recommendations.
Works for me now too, thanks for contributing @ikeryo1182! |
This PR upgrades version of husky and lint-staged