2019-02-14 08:40:42 -05:00
|
|
|
{
|
2021-02-18 04:09:23 -05:00
|
|
|
"extends": ["@gitlab/stylelint-config"],
|
2021-02-02 10:09:06 -05:00
|
|
|
"ignoreFiles": [
|
|
|
|
"app/assets/stylesheets/pages/emojis.scss",
|
|
|
|
"app/assets/stylesheets/startup/startup-*.scss",
|
2021-06-03 14:09:58 -04:00
|
|
|
"ee/app/assets/stylesheets/startup/startup-*.scss",
|
2021-02-02 10:09:06 -05:00
|
|
|
"app/assets/stylesheets/lazy_bundles/select2.scss",
|
2021-02-18 04:09:23 -05:00
|
|
|
"app/assets/stylesheets/highlight/themes/*.scss",
|
|
|
|
"app/assets/stylesheets/lazy_bundles/cropper.css"
|
2021-02-02 10:09:06 -05:00
|
|
|
],
|
2019-02-25 14:03:21 -05:00
|
|
|
"plugins":[
|
2019-03-26 04:13:21 -04:00
|
|
|
"./scripts/frontend/stylelint/stylelint-duplicate-selectors.js",
|
|
|
|
"./scripts/frontend/stylelint/stylelint-utility-classes.js",
|
2019-02-25 14:03:21 -05:00
|
|
|
],
|
|
|
|
"rules":{
|
2021-09-30 14:11:31 -04:00
|
|
|
"at-rule-disallowed-list": ["extend"],
|
2021-02-18 04:09:23 -05:00
|
|
|
"max-nesting-depth": [
|
2021-03-15 11:09:07 -04:00
|
|
|
3,
|
2019-02-25 14:03:21 -05:00
|
|
|
{
|
|
|
|
"ignoreAtRules":[
|
|
|
|
"each",
|
|
|
|
"media",
|
|
|
|
"supports",
|
|
|
|
"include"
|
|
|
|
],
|
|
|
|
"severity":"warning"
|
|
|
|
}
|
|
|
|
],
|
2021-03-15 11:09:07 -04:00
|
|
|
"selector-max-compound-selectors":[3, { "severity": "warning" }],
|
2021-02-02 10:09:06 -05:00
|
|
|
"stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }],
|
|
|
|
"declaration-block-no-duplicate-properties": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"ignore": ["consecutive-duplicates"]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-eol-whitespace": true,
|
2019-02-25 14:03:21 -05:00
|
|
|
}
|
2019-02-14 08:40:42 -05:00
|
|
|
}
|