- Typescript ready
- Extends standard
- Single quotes, semi
- Sensible defaults, best practices
- One-line of config
- Install dependencies.
npm i -DE eslint @grozav/stylelint-preset
- Create a new
.stylelintrc.js
file and add the following:module.exports = { extends: [ '@grozav/stylelint-config' ] }
- Add linting script to
package.json
:"lint": "stylelint --ext .vue,.css,.scss src",
ISC