bug: error on pre-commit hook from Husky with lerna + lint-staged #48
Labels
bug 🐛
Something isn't working
CSS 🎨
Related to CSS styles packages
help wanted ✋
Extra attention is needed
Bug Report
We are facing a problem when we update a CSS file because the script
stylelint:fix
is failing when launched with lint-staged on pre-commit hook configured with Husky.We should commit without add
--no-verify
For example, to reproduce:
main
branch and modify https://github.com/Decathlon/vitamin-web/blob/main/packages/sources/css/src/design-tokens/src/typography.css.git add .
yarn stylelint:fix
:Thanks in advance for your help & thanks @gabbloquet for reporting me this too!
The text was updated successfully, but these errors were encountered: