Permalink
Please sign in to comment.
Showing
with
64 additions
and 0 deletions.
- +24 −0 .csscomb.json
- +20 −0 .csslintrc
- +1 −0 build/tasks/alias.js
- +11 −0 build/tasks/options/csscomb.js
- +6 −0 build/tasks/options/csslint.js
- +2 −0 package.json
| @@ -0,0 +1,24 @@ | ||
| +{ | ||
| + "remove-empty-rulesets": true, | ||
| + "always-semicolon": true, | ||
| + "color-case": "lower", | ||
| + "block-indent": "\t", | ||
| + "color-shorthand": true, | ||
| + "element-case": "lower", | ||
| + "eof-newline": true, | ||
| + "leading-zero": false, | ||
| + "quotes": "double", | ||
| + "sort-order-fallback": "abc", | ||
| + "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-after-selector-delimiter": "\n", | ||
| + "space-before-selector-delimiter": "", | ||
| + "space-before-closing-brace": "\n", | ||
| + "strip-spaces": true, | ||
| + "unitless-zero": true | ||
| +} |
20
.csslintrc
| @@ -0,0 +1,20 @@ | ||
| +{ | ||
| + "adjoining-classes": false, | ||
| + "box-model": false, | ||
| + "box-sizing": false, | ||
| + "compatible-vendor-prefixes": false, | ||
| + "duplicate-background-images": false, | ||
| + "import": false, | ||
| + "important": false, | ||
| + "outline-none": false, | ||
| + "overqualified-elements": false, | ||
| + "text-indent": false, | ||
| + | ||
| + // These are not ideal but needed for current theme | ||
| + "qualified-headings": false, | ||
| + "regex-selectors": false, | ||
| + "unqualified-attributes": false, | ||
| + "universal-selector": false, | ||
| + "unique-headings": false, | ||
| + "vendor-prefix": false | ||
| +} |
| @@ -0,0 +1,11 @@ | ||
| +module.exports = { | ||
| + structure: { | ||
| + options: { | ||
| + config: ".csscomb.json" | ||
| + }, | ||
| + files: [{ | ||
| + expand: true, | ||
| + src: [ 'css/structure/*.css' ] | ||
| + }] | ||
| + } | ||
| +}; |
| @@ -0,0 +1,6 @@ | ||
| +module.exports = { | ||
| + options: { | ||
| + csslintrc: ".csslintrc" | ||
| + }, | ||
| + src: [ "css/**/*.css" ] | ||
| +}; |
0 comments on commit
c651bda