Example config for stylelint Run npm run lint:css for CSS linting Run npm run format:css for CSS autofixing Try to change something in CSS files and commit changes - you will see how husky + lint-staged + prettier work together