diff options
Diffstat (limited to '.stylelintrc.json')
| -rw-r--r-- | .stylelintrc.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..4754334 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,38 @@ +{ + "extends": "stylelint-config-standard-scss", + "rules": { + "alpha-value-notation": "number", + "color-function-notation": "legacy", + "comment-whitespace-inside": null, + "custom-property-pattern": null, + "declaration-colon-newline-after": null, + "declaration-empty-line-before": null, + "function-url-quotes": null, + "hue-degree-notation": "number", + "indentation": [ + 2, + { + "ignore": ["inside-parens", "value"], + "indentInsideParens": "twice" + } + ], + "max-line-length": [ + 80, + { + "ignore": ["non-comments"], + "ignorePattern": ["/https?://[0-9,a-z]*.*/"] + } + ], + "selector-id-pattern": null, + "selector-class-pattern": [ + "^([a-z][a-z0-9]*)((-|--|__)[a-z0-9]+)*$", + { + "message": "Selector should use lowercase and separate words with hyphens or use BEM (selector-class-pattern)" + } + ], + "scss/dollar-variable-empty-line-before": null, + "scss/dollar-variable-pattern": null, + "scss/double-slash-comment-whitespace-inside": null, + "scss/operator-no-newline-after": null + } +} |
