Slightly customized stylelint configuration based on stylelint-config-recommended-scss
.
- Add
.stylelintrc, .stylelintignore
to project root - Run:
yarn add -D stylelint stylelint-scss stylelint-config-recommended-scss
You can add the following script to package.json
to start using stylelint rightaway:
"lint:css": "stylelint '**/*.*'",