Skip to content

Instantly share code, notes, and snippets.

@veremey
Created May 27, 2022 18:01
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 veremey/9b71fd096779746b2649627f99bdee4b to your computer and use it in GitHub Desktop.
Save veremey/9b71fd096779746b2649627f99bdee4b to your computer and use it in GitHub Desktop.
.stylelintrc
{
"extends": [
"stylelint-config-rational-order",
"stylelint-config-recommended",
"stylelint-config-recommended-scss"
],
"plugins": ["stylelint-order", "stylelint-scss"],
"rules": {
"no-descending-specificity": null,
"number-leading-zero": "never",
"selector-pseudo-element-colon-notation": "double",
"length-zero-no-unit": true,
"number-no-trailing-zeros": true,
"declaration-block-no-duplicate-properties": true,
"color-hex-length": "short",
"color-hex-case": "lower",
"at-rule-name-case": "lower",
"color-no-invalid-hex": true,
"string-quotes": "single",
"function-url-quotes": "never",
"rule-empty-line-before": ["always-multi-line", {
"except": ["first-nested"]
}],
"comment-empty-line-before": [
"always", {
"ignore": [
"stylelint-commands"
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment