1.0.1 • Published 2 years ago

@wacg/stylelint-config v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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"
}