stylelint-config-strict
v5.0.0
Published
Stylelint sharable config for strict linting
Downloads
460
Maintainers
Readme
stylelint-config-strict
StyleLint sharable config for strict linting of CSS.
Installation
Install this config package and StyleLint:
$ npm install --save-dev stylelint stylelint-config-strict
Usage
This set of configs is meant to be extended on a per-project basis as necessary using StyleLint's shareable configs feature.
To start, simply add extends: ["strict"]
to your .stylelintrc
:
{
"extends": ["strict"]
}
Add any additional plugins you want, for example:
{
"extends": ["strict", "another-style-guideline"]
}
Feel free to define additional rules, or override them as you see fit:
{
"extends": ["strict"],
"rules": {
"string-quotes": "double"
}
}
For more details about how shareable configs work, see the StyleLint documentation.