4.1.0 • Published 11 months ago
@p233/stylelint-config-scss v4.1.0
stylelint-config-scss
An opinionated stylelint configurations set.
Configuration options
stylelint-config-scss: Add the basic SCSS lint rules to respect the stylelint-config-standard code style scheme.stylelint-config-recess-orderA Stylelint config that sorts CSS properties the way Recess did and Bootstrap did/does.stylelint-config-scss/css-modules: A fork of stylelint-config-css-modules to balance css-modules rules in SCSS
Installation
npm install @p233/stylelint-config-scss --save-devyarn add @p233/stylelint-config-scss --devUsage
Select the configurations for your needs and add them to your project .stylelintrc file:
{
"extends": [
"@p233/stylelint-config-scss",
]
}Changelog
Vesion 4.0.0
- Upgrade to fit stylelist 15
- Remove all order rules (
order-bootstrap,order-csscomb,order-yandex,order-zen), and use stylelint-config-recess-order instead.
Version 3.1.1
- Disable
selector-class-patternwhen usingcss-modules - Disable
value-keyword-caseforcomposesandcompose-withproperties when usingcss-modules
Because you might use kebab-case / camelCase / PascalCase for selectors in CSS Modules.
Version 3.1.0
- Add
@p233/stylelint-config-scss/css-modulesrules
Version 3.0.2
- Remove
@p233/stylelint-config-scss/no-prefixesrules
Version 3.0.0
- Require stylelint 14 and above
- Remove
@p233/stylelint-config-scss/strictrules