Skip to content

Instantly share code, notes, and snippets.

@machal
Created January 15, 2018 10:02
Show Gist options
  • Save machal/0617f3e2d519ccea26cd4480120c6f28 to your computer and use it in GitHub Desktop.
Save machal/0617f3e2d519ccea26cd4480120c6f28 to your computer and use it in GitHub Desktop.
RFE Stylint rules v1 -> v2
{
"extends": "stylelint-config-standard",
"rules": {
"at-rule-empty-line-before": null,
"at-rule-no-unknown": [
true, {
"ignoreAtRules": ["if", "else", "extend", "mixin", "include", "content", "for"]
}
],
"block-closing-brace-empty-line-before": null,
"block-closing-brace-newline-after": null,
"block-no-empty": null,
"color-hex-case": "lower",
"declaration-colon-newline-after": "always-multi-line",
"declaration-empty-line-before": "never",
"declaration-no-important": null,
"font-family-name-quotes": "always-where-recommended",
"function-comma-newline-after": null,
"function-parentheses-space-inside": null,
"function-url-quotes": "never",
"indentation": 4,
"max-empty-lines": 4,
"max-nesting-depth": 3,
"media-feature-name-no-vendor-prefix": true,
"number-leading-zero": "never",
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"no-extra-semicolons": true,
"property-no-vendor-prefix": true,
"rule-empty-line-before": null,
"selector-attribute-quotes": "always",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-newline-after": null,
"selector-max-id": 0,
"selector-max-specificity": "0,4,0",
"selector-max-universal": 1,
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "single",
"unit-whitelist": [ "em", "rem", "%", "px", "s", "deg", "vh", "vw" ],
"value-no-vendor-prefix": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment