Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-02-18 13:34:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-18 13:34:06 +0300
commit859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch)
treed7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /.stylelintrc
parent446d496a6d000c73a304be52587cd9bbc7493136 (diff)
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to '.stylelintrc')
-rw-r--r--.stylelintrc21
1 files changed, 17 insertions, 4 deletions
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,
}
}