stylelint-config-adidas-scss
v3.0.0
Published
Stylelint configuration to check SCSS specific rules
Downloads
22
Readme
stylelint-config-adidas-scss
adidas configuration for stylelint CSS linter tool.
It uses the SCSS plugin with some custom rules: stylelint-scss.
Install
npm i --save-dev stylelint@16 stylelint-scss@6 stylelint-config-adidas stylelint-config-adidas-scss
Project specific configuration.
Create a .stylelintrc
file on the root folder of the project.
{
"extends": [
"stylelint-config-adidas",
"stylelint-config-adidas-scss"
]
}
The defined rules can be modified adding other configurations, plugins or custom rules.
{
"extends": [
"stylelint-config-adidas",
"stylelint-config-adidas-scss",
"my-custom-stylelint-config"
],
"rules": {
"scss/at-rule-no-unknown": [ true, {
"ignoreAtRules": [ "my-rule" ]
}]
}
}