summaryrefslogtreecommitdiff
path: root/.stylelintrc
blob: 6e3999fec3b78da5938ccd2fc5580618a77b0bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
   "extends": ["@gitlab/stylelint-config"],
   "ignoreFiles": [
     "app/assets/stylesheets/pages/emojis.scss",
     "app/assets/stylesheets/startup/startup-*.scss",
     "ee/app/assets/stylesheets/startup/startup-*.scss",
     "app/assets/stylesheets/lazy_bundles/select2.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",
   ],
   "rules":{
      "stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }],
   }
}