Skip to content

Instantly share code, notes, and snippets.

@cezarpopa
Last active September 16, 2019 19:23
Show Gist options
  • Save cezarpopa/bbf5ec48e448e044921e3fe80ca9bf0a to your computer and use it in GitHub Desktop.
Save cezarpopa/bbf5ec48e448e044921e3fe80ca9bf0a to your computer and use it in GitHub Desktop.
stylelintrc
{
"extends": "stylelint-config-standard",
"rules": {
"indentation": 2,
"no-duplicate-selectors": true,
"color-hex-case": "lower",
"color-hex-length": "long",
"color-named": "never",
"selector-combinator-space-after": "always",
"selector-attribute-quotes": "always",
"declaration-block-trailing-semicolon": "always",
"declaration-no-important": true,
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always",
"value-no-vendor-prefix": true,
"number-leading-zero": "never",
"function-url-quotes": "always",
"font-family-name-quotes": "always-unless-keyword",
"comment-whitespace-inside": "always",
"comment-empty-line-before": "always",
"rule-empty-line-before": "always",
"selector-pseudo-element-colon-notation": "single",
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-no-universal": true,
"media-feature-range-operator-space-before": "always",
"media-feature-range-operator-space-after": "always",
"media-feature-parentheses-space-inside": "never",
"media-feature-name-no-vendor-prefix": true,
"media-feature-colon-space-after": "always"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment