diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 12:09:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 12:09:23 +0300 |
commit | 00c8da9174df559fa0153fdf410b76830d8f85a3 (patch) | |
tree | 86028ed09754061ef66040b96a670d38c4c808fd /.stylelintrc | |
parent | 98087a9853200d21ecaf50c075ee4346769c89c6 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.stylelintrc')
-rw-r--r-- | .stylelintrc | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/.stylelintrc b/.stylelintrc index b9174d1dca1..7a2d44a6413 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -1,36 +1,37 @@ { + "extends": ["@gitlab/stylelint-config"], "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" + "app/assets/stylesheets/highlight/themes/*.scss", + "app/assets/stylesheets/lazy_bundles/cropper.css" ], "plugins":[ "./scripts/frontend/stylelint/stylelint-duplicate-selectors.js", "./scripts/frontend/stylelint/stylelint-utility-classes.js", - "stylelint-scss" ], "rules":{ - "at-rule-blacklist":[ + "at-rule-disallowed-list": [ "debug" ], - "at-rule-no-unknown":null, - "at-rule-no-vendor-prefix":true, - "block-no-empty":true, - "block-opening-brace-space-before":"always", - "color-hex-case":"lower", - "color-hex-length":"short", - "color-named":"never", - "color-no-invalid-hex":true, - "declaration-bang-space-after":"never", - "declaration-bang-space-before":"always", - "declaration-block-semicolon-newline-after":"always", - "declaration-block-semicolon-space-before":"never", - "declaration-block-single-line-max-declarations":1, - "declaration-block-trailing-semicolon":"always", - "declaration-colon-space-after":"always-single-line", - "declaration-colon-space-before":"never", - "declaration-property-value-blacklist":{ + "at-rule-no-unknown": null, + "at-rule-no-vendor-prefix": true, + "block-no-empty": true, + "block-opening-brace-space-before": "always", + "color-hex-case": "lower", + "color-hex-length": "short", + "color-named": "never", + "color-no-invalid-hex": true, + "declaration-bang-space-after": "never", + "declaration-bang-space-before": "always", + "declaration-block-semicolon-newline-after": "always", + "declaration-block-semicolon-space-before": "never", + "declaration-block-single-line-max-declarations": 1, + "declaration-block-trailing-semicolon": "always", + "declaration-colon-space-after": "always-single-line", + "declaration-colon-space-before": "never", + "declaration-property-value-disallowed-list": { "border":[ "none" ], @@ -47,12 +48,12 @@ "none" ] }, - "function-comma-space-after":"always-single-line", - "function-parentheses-space-inside":"never", - "function-url-quotes":"always", - "indentation":2, - "length-zero-no-unit":true, - "max-nesting-depth":[ + "function-comma-space-after": "always-single-line", + "function-parentheses-space-inside": "never", + "function-url-quotes": "always", + "indentation": 2, + "length-zero-no-unit": true, + "max-nesting-depth": [ 6, { "ignoreAtRules":[ @@ -111,7 +112,6 @@ "shorthand-property-no-redundant-values":true, "string-quotes":"single", "value-no-vendor-prefix": [true, { "ignoreValues": ["sticky"] }], - "stylelint-gitlab/duplicate-selectors":[true,{ "severity": "warning" }], "stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }], "declaration-block-no-duplicate-properties": [ true, |