@wacg/stylelint-config
v1.0.1
Published
stylelint configuration file for WACG projects
Downloads
14
Readme
WACG stylelint Config
stylelint configuration file for WACG projects
Installing
npm
npm i -D stylelint @wacg/stylelint-config
yarn
yarn add -D stylelint @wacg/stylelint-config
Configuration
add .stylelintrc.js
in the root dirictory of your project with following content:
module.exports = {
extends: [
'@wacg/stylelint-config'
]
}
Tasks
add the following task to the scripts
section of your package.json
"scripts": {
"lint": "stylelint **/*.css",
"lint:fix": "stylelint **/*.css --fix"
}