From 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 18 Feb 2021 10:34:06 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-9-stable-ee --- .stylelintrc | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to '.stylelintrc') diff --git a/.stylelintrc b/.stylelintrc index b0ace93e04f..b9174d1dca1 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -1,4 +1,10 @@ { + "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":[ "./scripts/frontend/stylelint/stylelint-duplicate-selectors.js", "./scripts/frontend/stylelint/stylelint-utility-classes.js", @@ -47,7 +53,7 @@ "indentation":2, "length-zero-no-unit":true, "max-nesting-depth":[ - 3, + 6, { "ignoreAtRules":[ "each", @@ -97,15 +103,22 @@ } ], "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-no-vendor-prefix":true, "selector-pseudo-element-colon-notation":"double", "selector-pseudo-element-no-unknown":true, "shorthand-property-no-redundant-values":true, "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/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, } } -- cgit v1.2.1