Last active
July 15, 2018 21:25
-
-
Save ermish/a281817c7341f7ad0c0c6c709b00d46c to your computer and use it in GitHub Desktop.
A reusable stylelint config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": "stylelint-config-standard", | |
"plugins": [ | |
"stylelint-order", | |
"stylelint-scss" | |
], | |
"rules": { | |
"at-rule-no-unknown": null, | |
"color-hex-length": "short", | |
"color-named": "never", | |
"comment-empty-line-before": null, | |
"indentation": 2, | |
"max-line-length": 100, | |
"max-nesting-depth": 4, | |
"no-descending-specificity": null, | |
"no-eol-whitespace": [ | |
true, | |
{ | |
"ignore": [ | |
"empty-lines" | |
] | |
} | |
], | |
"order/order": [ | |
{ | |
"type": "at-rule", | |
"name": "include" | |
}, | |
{ | |
"type": "at-rule", | |
"name": "extend" | |
}, | |
"custom-properties", | |
"dollar-variables", | |
"declarations", | |
"rules", | |
{ | |
"type": "at-rule", | |
"name": "media" | |
} | |
], | |
"order/properties-alphabetical-order": true, | |
"shorthand-property-no-redundant-values": null, | |
"selector-list-comma-newline-after": "always-multi-line", | |
"string-quotes": "single", | |
"value-list-comma-newline-after": "always-multi-line" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment