@dopustim/stylelint-config
v1.1.0
Published
Configuration file for StyleLint
Downloads
4
Maintainers
Readme
@dopustim/stylelint-config
Configuration file for StyleLint
Features
- Provide Errors and Warnings
- 2 spaces for indentation (warning)
- 90 symbols per line (warning)
- Unix linebreaks (warning)
Usage
Install @dopustim/stylelint-config
package via NPM:
npm install -D stylelint @dopustim/stylelint-config
Extend this config in your .stylelintrc.json
:
{
"extends": "@dopustim/stylelint-config"
}
Or use your package.json
:
"stylelint": {
"extends": "@dopustim/stylelint-config"
}
You can also reassign any rule for your needs:
{
"extends": "@dopustim/stylelint-config",
"rules": {
"max-line-length": [ 100, { "severity": "warning" } ]
}
}
About
Visit the StyleLint website to find out all rules and descriptions.