diff options
author | Martijn Cuppens <martijn.cuppens@intracto.com> | 2018-01-31 10:15:07 +0300 |
---|---|---|
committer | Martijn Cuppens <martijn.cuppens@intracto.com> | 2018-01-31 10:15:07 +0300 |
commit | 627499ca8ebbecc014042c3a91888cfe668d0b56 (patch) | |
tree | 4f628fd80a17c2336e591cd9e683e91fc6b0482d /.stylelintrc | |
parent | 67eb9804666153012991504d45c7caf395eb2765 (diff) |
Examples, stylelint, yarn, stylus bugfixes and much more...
Diffstat (limited to '.stylelintrc')
-rw-r--r-- | .stylelintrc | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 0000000..c026f02 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,55 @@ +{ + "plugins": [ + "stylelint-scss" + ], + "rules": { + "at-rule-name-space-after": "always", + "at-rule-no-vendor-prefix": true, + "at-rule-semicolon-space-before": "never", + "block-opening-brace-space-before": "always", + "declaration-block-semicolon-newline-after": "always-multi-line", + "declaration-block-semicolon-newline-before": "never-multi-line", + "declaration-block-semicolon-space-after": "always-single-line", + "declaration-empty-line-before": null, + "font-family-name-quotes": "always-where-recommended", + "font-weight-notation": "numeric", + "function-url-no-scheme-relative": true, + "function-url-quotes": "always", + "length-zero-no-unit": true, + "max-empty-lines": 2, + "media-feature-name-no-vendor-prefix": true, + "media-feature-parentheses-space-inside": "never", + "media-feature-range-operator-space-after": "always", + "media-feature-range-operator-space-before": "never", + "no-descending-specificity": null, + "no-duplicate-selectors": true, + "number-leading-zero": "never", + "property-no-vendor-prefix": true, + "rule-empty-line-before": null, + "selector-attribute-quotes": "always", + "selector-list-comma-newline-after": "always", + "selector-list-comma-newline-before": "never-multi-line", + "selector-list-comma-space-after": "always-single-line", + "selector-list-comma-space-before": "never-single-line", + "selector-max-attribute": 2, + "selector-max-class": 4, + "selector-max-combinators": 4, + "selector-max-compound-selectors": 4, + "selector-max-empty-lines": 1, + "selector-max-id": 0, + "selector-max-specificity": null, + "selector-max-type": 2, + "selector-no-qualifying-type": true, + "selector-no-vendor-prefix": true, + "string-quotes": "double", + "value-keyword-case": "lower", + "value-list-comma-newline-after": "never-multi-line", + "value-list-comma-newline-before": "never-multi-line", + "value-list-comma-space-after": "always", + "value-no-vendor-prefix": true, + "scss/selector-no-redundant-nesting-selector": true, + "scss/at-else-closing-brace-newline-after": "always", + "scss/dollar-variable-colon-space-after": "always", + "scss/dollar-variable-colon-space-before": "never" + } +} |