Skip to content

Instantly share code, notes, and snippets.

@davxdo
Created June 19, 2019 00:12
Show Gist options
  • Select an option

  • Save davxdo/b326b7a24f504c0d802ff073c331ee4e to your computer and use it in GitHub Desktop.

Select an option

Save davxdo/b326b7a24f504c0d802ff073c331ee4e to your computer and use it in GitHub Desktop.
{
"extends": "stylelint-config-standard",
"rules": {
"indentation": 2,
"string-quotes": "single",
"no-duplicate-selectors": true,
"color-named": "always-where-possible",
"color-no-hex": true,
"selector-no-qualifying-type": true,
"selector-no-id": true,
"selector-no-combinator": true,
"selector-combinator-space-after": "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",
"property-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"number-leading-zero": "never",
"function-url-quotes": "always",
"font-weight-notation": "numeric",
"font-family-name-quotes": "always-where-recommended",
"at-rule-no-vendor-prefix": true,
"rule-empty-line-before": "always",
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-no-vendor-prefix": true,
"selector-no-universal": true,
"selector-no-type": 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-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