stylelint-config-css
Stylelint shareable config for the Qulix CSS Style Guide
Installation
Install with npm
:
$ npm install --save-dev tslint @qulix/stylelint-config-css
Install with yarn
:
$ yarn --dev tslint @qulix/stylelint-config-css
Usage
Once the stylelint-config-css
package is installed, you can use it by specifying @qulix/stylelint-config-css
in the extends
section of your TSLint configuration.
{
"extends": [
"@qulix/stylelint-config-css"
],
"rules": {
}
}
Migration
During migration, you can disable rulesets by overriding them in yours .stylelintrc
configuration file
The rule set is stored in node_modules/@qulix/stylelint-config-css/rules
"extends": [
"@qulix/stylelint-config-css"
],
"rules": {
"color-hex-case": "upper",
"color-hex-length": "short",
}
License
MIT