Skip to content

Instantly share code, notes, and snippets.

@jacricelli
Created June 6, 2018 02:25
Show Gist options
  • Save jacricelli/db9bc62989e4bba52617aa0073c7f5d4 to your computer and use it in GitHub Desktop.
Save jacricelli/db9bc62989e4bba52617aa0073c7f5d4 to your computer and use it in GitHub Desktop.
Configuración de Stylelint
{
"extends": "stylelint-config-standard",
"rules": {
"color-hex-case": "lower",
"color-hex-length": "short",
"color-named": "never",
"comment-empty-line-before": "always",
"comment-whitespace-inside": "always",
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "named-where-possible",
"function-url-quotes": "always",
"indentation": 2,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"no-duplicate-selectors": true,
"number-leading-zero": "never",
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
]
}
],
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-attribute-quotes": "always",
"selector-combinator-space-after": "always",
"selector-no-qualifying-type": true,
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "single"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment