2.1.0 • Published 4 years ago
@geekality/stylelint-config v2.1.0
@opf/stylelint-config
Installation
- Install:
npm install --save-dev stylelint @opf/stylelint-config
- Add the following to
package.json
:
{
"scripts": {
"fix:styles": "stylelint \"**/*.css\" --ignore-path .lintignore --cache --fix",
"lint:styles": "stylelint \"**/*.css\" --ignore-path .lintignore --max-warnings 0 --cache"
},
"stylelint": {
"extends": "@opf/stylelint-config"
}
}
- Add the following to
.lintignore
, adjusted as needed:
build/