Remove redundant stylelint rules
We already have the following rules in out Stylelint config: - max-nesting-depth - selector-max-compound-selectors - declaration-block-no-duplicate-properties - no-eol-whitespace
This commit is contained in:
parent
68f22b98a2
commit
145dfb2590
21
.stylelintrc
21
.stylelintrc
|
@ -13,27 +13,6 @@
|
||||||
"./scripts/frontend/stylelint/stylelint-utility-classes.js",
|
"./scripts/frontend/stylelint/stylelint-utility-classes.js",
|
||||||
],
|
],
|
||||||
"rules":{
|
"rules":{
|
||||||
"at-rule-disallowed-list": ["extend"],
|
|
||||||
"max-nesting-depth": [
|
|
||||||
3,
|
|
||||||
{
|
|
||||||
"ignoreAtRules":[
|
|
||||||
"each",
|
|
||||||
"media",
|
|
||||||
"supports",
|
|
||||||
"include"
|
|
||||||
],
|
|
||||||
"severity":"warning"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"selector-max-compound-selectors":[3, { "severity": "warning" }],
|
|
||||||
"stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }],
|
"stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }],
|
||||||
"declaration-block-no-duplicate-properties": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
"ignore": ["consecutive-duplicates"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"no-eol-whitespace": true,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue