renovate
renovate copied to clipboard
Replace `pretty-quick` with `lint-staged`
Describe the proposed change(s).
Replace pretty-quick --staged
with okonet/lint-staged
. Include Prettier and the different linters in the pre-commit hook.
https://github.com/renovatebot/renovate/blob/8d9e3be6f3b73f856a87eee31d4aff8c196ced23/.husky/pre-commit#L4
https://github.com/renovatebot/renovate/blob/8d9e3be6f3b73f856a87eee31d4aff8c196ced23/package.json#L294
Todo:
- [ ] Install
lint-staged
as dev dependency - [ ] Check where we run
pretty-quick
- [ ] Replace
pretty-quick
commands withlint-staged
commands - [ ] Run
ls-lint
- [ ] Run
eslint
- [ ] Run
markdown-lint
- [ ] Open PR
- does this
lint-staged
replacepretty-quick
functionality fully? - Are you willing to do this or should we do it ?
- does this
lint-staged
replacepretty-quick
functionality fully?
I think that's what @viceice and @astellingwerf want on Slack? I'll let them respond to that part of the question.
- Are you willing to do this or should we do it ?
I'll let somebody else do it. 😉
cool, we'll take it then, thanks!
- does this
lint-staged
replacepretty-quick
functionality fully?
yes
- Are you willing to do this or should we do it ?
maybe 🙃
Hi, I am new to this project and interested in picking this up.