Last active
September 22, 2020 05:14
-
-
Save kvizconde/067bfc4ec6fccba2b079c8a05c1b6253 to your computer and use it in GitHub Desktop.
personal style config for scss/css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": ["stylelint-config-recommended-scss"], | |
"ignoreFiles": ["**/*.js", "**/*.html"], | |
"plugins": ["stylelint-scss"], | |
"rules": { | |
"indentation": 2, | |
"max-empty-lines": 1, | |
"string-quotes": "double", | |
"no-duplicate-selectors": true, | |
"color-hex-case": "lower", | |
"color-hex-length": "short", | |
"selector-combinator-space-after": "always", | |
"declaration-block-trailing-semicolon": "always", | |
"declaration-colon-space-before": "never", | |
"declaration-colon-space-after": "always", | |
"selector-list-comma-newline-after": "always", | |
"number-leading-zero": "never", | |
"function-url-quotes": "never", | |
"comment-whitespace-inside": "always", | |
"at-rule-no-vendor-prefix": true, | |
"rule-empty-line-before": "always", | |
"selector-pseudo-element-colon-notation": "double", | |
"media-feature-range-operator-space-before": "always", | |
"media-feature-range-operator-space-after": "always", | |
"media-feature-colon-space-before": "never", | |
"function-linear-gradient-no-nonstandard-direction": null, | |
"declaration-block-semicolon-newline-after": "always", | |
"declaration-empty-line-before": "never", | |
"value-list-comma-space-after": "always", | |
"function-comma-space-after": "always", | |
"block-opening-brace-newline-after": "always", | |
"block-closing-brace-empty-line-before": "never", | |
"declaration-block-semicolon-space-before": "never" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment