summaryrefslogtreecommitdiff
path: root/.csscomb.json
diff options
context:
space:
mode:
authorconnorshea <connor.james.shea@gmail.com>2016-03-22 14:58:29 -0600
committerconnorshea <connor.james.shea@gmail.com>2016-03-22 15:01:31 -0600
commitedac38c4397342bcee57ccd135b742de877331d4 (patch)
tree87350cf081d8fdf4f7aed6a1da2b1d5841380ae1 /.csscomb.json
parent57dd206f12524807403a6f3146bde0e31ead79a9 (diff)
downloadgitlab-ce-edac38c4397342bcee57ccd135b742de877331d4.tar.gz
Fixes last remaining lints and enables scss-lint test for GitLab CI.
With this, builds will now fail if they break the SCSS style guide (at least, the parts enabled by the linter). Discussed in #14299.
Diffstat (limited to '.csscomb.json')
-rw-r--r--.csscomb.json32
1 files changed, 18 insertions, 14 deletions
diff --git a/.csscomb.json b/.csscomb.json
index e353e6a63d0..741cc1488b5 100644
--- a/.csscomb.json
+++ b/.csscomb.json
@@ -1,16 +1,20 @@
{
- "always-semicolon": true,
- "color-case": "lower",
- "block-indent": " ",
- "color-shorthand": true,
- "element-case": "lower",
- "space-before-colon": "",
- "space-after-colon": " ",
- "space-before-combinator": " ",
- "space-after-combinator": " ",
- "space-between-declarations": "\n",
- "space-before-opening-brace": " ",
- "space-after-opening-brace": "\n",
- "space-before-closing-brace": "\n",
- "unitless-zero": true
+ "exclude": [
+ "app/assets/stylesheets/framework/tw_bootstrap_variables.scss",
+ "app/assets/stylesheets/framework/fonts.scss"
+ ],
+ "always-semicolon": true,
+ "color-case": "lower",
+ "block-indent": " ",
+ "color-shorthand": true,
+ "element-case": "lower",
+ "space-before-colon": "",
+ "space-after-colon": " ",
+ "space-before-combinator": " ",
+ "space-after-combinator": " ",
+ "space-between-declarations": "\n",
+ "space-before-opening-brace": " ",
+ "space-after-opening-brace": "\n",
+ "space-before-closing-brace": "\n",
+ "unitless-zero": true
}