adidas configuration for stylelint CSS linter tool.
The configuration extends the stylelint standard: stylelint-config-standard.
npm i --save-dev stylelint@16 stylelint-config-adidas
Create a .stylelintrc
file on the root folder of the project.
{
"extends": "stylelint-config-adidas"
}
The defined rules can be modified adding other configurations, plugins or custom rules.
{
"extends": [
"stylelint-config-adidas",
"my-custom-stylelint-config"
],
"rules": {
"at-rule-no-unknown": [ true, {
"ignoreAtRules": ["my-rule"]
}]
}
}