Skip to content

Instantly share code, notes, and snippets.

@gangsthub
Created April 8, 2017 05:26
Show Gist options
  • Save gangsthub/59d62b2e3f699b6199591951112a8a9b to your computer and use it in GitHub Desktop.
Save gangsthub/59d62b2e3f699b6199591951112a8a9b to your computer and use it in GitHub Desktop.
styleLint config
{
"extends": "stylelint-config-standard",
"rules": {
"indentation": 4,
"string-quotes": "single",
"no-duplicate-selectors": true,
"color-hex-case": "upper",
"color-hex-length": "short",
"selector-combinator-space-after": "always",
"selector-attribute-quotes": "always",
"selector-attribute-operator-space-before": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-brackets-space-inside": "never",
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always",
"number-leading-zero": "never",
"function-url-quotes": "always",
"function-url-data-uris": "never",
"font-family-name-quotes": "always-unless-keyword",
"comment-empty-line-before": "never",
"selector-pseudo-class-parentheses-space-inside": "never",
"media-feature-range-operator-space-before": "always",
"media-feature-range-operator-space-after": "always",
"media-feature-parentheses-space-inside": "never",
"media-feature-colon-space-before": "never",
"media-feature-colon-space-after": "always"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment