debian-mirror-gitlab/.stylelintrc

38 lines
1.1 KiB
Text
Raw Normal View History

2019-07-07 11:18:12 +05:30
{
2021-04-17 20:07:23 +05:30
"extends": ["@gitlab/stylelint-config"],
2021-03-11 19:13:27 +05:30
"ignoreFiles": [
"app/assets/stylesheets/pages/emojis.scss",
"app/assets/stylesheets/startup/startup-*.scss",
"app/assets/stylesheets/lazy_bundles/select2.scss",
2021-04-17 20:07:23 +05:30
"app/assets/stylesheets/highlight/themes/*.scss",
"app/assets/stylesheets/lazy_bundles/cropper.css"
2021-03-11 19:13:27 +05:30
],
2019-07-07 11:18:12 +05:30
"plugins":[
"./scripts/frontend/stylelint/stylelint-duplicate-selectors.js",
"./scripts/frontend/stylelint/stylelint-utility-classes.js",
],
"rules":{
2021-04-17 20:07:23 +05:30
"max-nesting-depth": [
3,
2019-07-07 11:18:12 +05:30
{
"ignoreAtRules":[
"each",
"media",
"supports",
"include"
],
"severity":"warning"
}
],
2021-04-17 20:07:23 +05:30
"selector-max-compound-selectors":[3, { "severity": "warning" }],
2021-03-11 19:13:27 +05:30
"stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }],
"declaration-block-no-duplicate-properties": [
true,
{
"ignore": ["consecutive-duplicates"]
}
],
"no-eol-whitespace": true,
2019-07-07 11:18:12 +05:30
}
}