@tinkoff/stylelint-config
v4.0.0
Published
Stylelint config
Downloads
642
Readme
@tinkoff/stylelint-config
Common Stylelint configuration
Usage
- Install from npm
npm i --save-dev @tinkoff/stylelint-config
- Create
stylelint.config.js
at project root
{
"extends": ["@tinkoff/stylelint-config"]
}
More information about available at stylelint documentation
Available presets
- prettier
{
"extends": ["@tinkoff/stylelint-config/prettier"]
}
- less - includes prettier config
{
"extends": ["@tinkoff/stylelint-config/less"]
}
- angular - includes prettier config
{
"extends": ["@tinkoff/stylelint-config/angular"]
}
- angular-less - combine angular and less configs
{
"extends": ["@tinkoff/stylelint-config/angular-less"]
}