Skip to content

Instantly share code, notes, and snippets.

@Darex1991
Created August 3, 2018 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Darex1991/02d6acb360198f0a4a690c7dbd747e45 to your computer and use it in GitHub Desktop.
Save Darex1991/02d6acb360198f0a4a690c7dbd747e45 to your computer and use it in GitHub Desktop.
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"plugins": ["stylelint-order"],
"rules": {
"at-rule-no-unknown": null,
"at-rule-semicolon-space-before": "never",
"block-no-empty": true,
"block-opening-brace-space-before": "always",
"color-hex-length": "long",
"color-named": "never",
"declaration-colon-space-after": "always-single-line",
"function-name-case": null,
"declaration-empty-line-before": ["never", {
"ignore": ["after-declaration", "inside-single-line-block"]
}],
"function-comma-space-after": "always-single-line",
"indentation": 2,
"length-zero-no-unit": true,
"max-nesting-depth": [5, {"ignore": ["blockless-at-rules"]}],
"max-empty-lines": 1,
"no-descending-specificity": false,
"number-leading-zero": "never",
"order/properties-alphabetical-order": true,
"rule-empty-line-before": ["always", {
"except": ["first-nested"]
}],
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
"selector-pseudo-element-colon-notation": "single",
"unit-whitelist": ["rem", "%", "px", "vw", "vh", "deg", "s", "vmax", "vmin"],
"value-list-comma-space-after": "always-single-line"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment