Licence
ISC
Version
1.1.0
Deps
0
Size
12 kB
Vulns
0
Weekly
0
@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.