Skip to content

Instantly share code, notes, and snippets.

@jm3
Last active June 10, 2019 02:43
Show Gist options
  • Save jm3/32d5a7a52c96cb932bdc114565759fd3 to your computer and use it in GitHub Desktop.
Save jm3/32d5a7a52c96cb932bdc114565759fd3 to your computer and use it in GitHub Desktop.
{
"extends": [
"stylelint-order",
"stylelint-config-rational-order/plugin"
],
"plugins": [
"stylelint-color-format",
"stylelint-config-rational-order/plugin",
"stylelint-no-unsupported-browser-features"
]
,
"rules": {
"color-format/format": {
"format": "hsl"
},
"number-no-trailing-zeros": true,
"block-no-empty": true,
"color-no-hex": true,
"color-named": "never",
"color-hex-case": "lower",
"max-empty-lines": 2,
"plugin/no-unsupported-browser-features": [true, {
"browsers": ["> 0.5% in us", "not dead"],
"ignore": ["rem"]
}],
"plugin/rational-order": [true, {
"empty-line-between-groups": true
}],
"rule-empty-line-before": [ "always", {
"except": ["first-nested"],
"ignore": ["after-comment"]
} ],
"unit-whitelist": ["rem", "%", "px"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment