From 1bcbd9e0c5a8571b936d7f5db3091365f64aa5de Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Sun, 17 Feb 2019 17:05:32 +0100 Subject: Add stylelint --- .stylelintrc | 55 +++++-------------------------------------------------- 1 file changed, 5 insertions(+), 50 deletions(-) (limited to '.stylelintrc') diff --git a/.stylelintrc b/.stylelintrc index c026f02..20dcbb5 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -1,55 +1,10 @@ { - "plugins": [ - "stylelint-scss" + "extends": [ + "stylelint-config-standard" ], "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" + "at-rule-empty-line-before": null, + "at-rule-no-unknown": null, + "number-leading-zero": "never" } } -- cgit v1.2.3