Commit d5e7549a authored by Vitaly Slobodin's avatar Vitaly Slobodin Committed by Natalia Tepluhina

Sync scss-lint rules and stylelint

parent c89d94e5
{ {
"ignoreFiles": [
"app/assets/stylesheets/pages/emojis.scss",
"app/assets/stylesheets/startup/startup-*.scss",
"app/assets/stylesheets/lazy_bundles/select2.scss",
"app/assets/stylesheets/highlight/themes/*.scss"
],
"plugins":[ "plugins":[
"./scripts/frontend/stylelint/stylelint-duplicate-selectors.js", "./scripts/frontend/stylelint/stylelint-duplicate-selectors.js",
"./scripts/frontend/stylelint/stylelint-utility-classes.js", "./scripts/frontend/stylelint/stylelint-utility-classes.js",
...@@ -47,7 +53,7 @@ ...@@ -47,7 +53,7 @@
"indentation":2, "indentation":2,
"length-zero-no-unit":true, "length-zero-no-unit":true,
"max-nesting-depth":[ "max-nesting-depth":[
3, 6,
{ {
"ignoreAtRules":[ "ignoreAtRules":[
"each", "each",
...@@ -97,15 +103,22 @@ ...@@ -97,15 +103,22 @@
} }
], ],
"selector-list-comma-newline-after":"always", "selector-list-comma-newline-after":"always",
"selector-max-compound-selectors":[3, { "severity": "warning" }], "selector-max-compound-selectors":[6, { "severity": "warning" }],
"selector-max-id":1, "selector-max-id":1,
"selector-no-vendor-prefix":true, "selector-no-vendor-prefix":true,
"selector-pseudo-element-colon-notation":"double", "selector-pseudo-element-colon-notation":"double",
"selector-pseudo-element-no-unknown":true, "selector-pseudo-element-no-unknown":true,
"shorthand-property-no-redundant-values":true, "shorthand-property-no-redundant-values":true,
"string-quotes":"single", "string-quotes":"single",
"value-no-vendor-prefix":[true, { "ignoreValues": ["sticky"] }], "value-no-vendor-prefix": [true, { "ignoreValues": ["sticky"] }],
"stylelint-gitlab/duplicate-selectors":[true,{ "severity": "warning" }], "stylelint-gitlab/duplicate-selectors":[true,{ "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,
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment