Latest Stylelint config for v7.9.0 (Work In Progress)
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
{ | |
"rules": { | |
"color-hex-length": "long", | |
"color-named": "never", | |
"color-no-invalid-hex": true, | |
"font-weight-notation": "numeric", | |
"function-linear-gradient-no-nonstandard-direction": true, | |
"function-name-case": "lower", | |
"function-url-scheme-blacklist": ["data:"], | |
"string-no-newline": true, | |
"length-zero-no-unit": true, | |
"unit-no-unknown": true, | |
"value-keyword-case": "lower", | |
"value-no-vendor-prefix": true, | |
"shorthand-property-no-redundant-values": true, | |
"property-case": "lower", | |
"property-no-unknown": true, | |
"property-no-vendor-prefix": true, | |
"declaration-block-no-duplicate-properties": true, | |
"declaration-block-no-shorthand-property-overrides": true, | |
"declaration-block-single-line-max-declarations": 1, | |
"block-no-empty": true, | |
"selector-class-pattern": ["^[a-z]([a-z0-9]){1,3}-[A-Z][a-zA-Z0-9]+(_[A-Z][a-zA-Z0-9]+)?(-([a-z0-9-]+)?[a-z0-9])?$", { "resolveNestedSelectors": true }], | |
"selector-combinator-space-before": "always", | |
"selector-max-compound-selectors": 3, | |
"selector-max-specificity": "0,3,0", | |
"selector-max-id": 0, | |
"selector-no-qualifying-type": true, | |
"selector-max-type": 0, | |
"selector-max-universal": 0, | |
"selector-no-vendor-prefix": true, | |
"selector-pseudo-class-case": "lower", | |
"selector-pseudo-class-no-unknown": true, | |
"selector-pseudo-element-case": "lower", | |
"selector-pseudo-element-colon-notation": "single", | |
"selector-pseudo-element-no-unknown": true, | |
"media-feature-name-no-vendor-prefix": true, | |
"at-rule-no-unknown": [true, {"ignoreAtRules": ["mixin"]}], | |
"at-rule-no-vendor-prefix": true, | |
"comment-no-empty": true, | |
"no-duplicate-selectors": true, | |
"no-empty-source": true, | |
"no-invalid-double-slash-comments": true | |
} | |
} |
Removed many rules that were used purely to address whitespace issues. Recommend these issues are now handled by prettier.
Changed rules in prep for moving to v8
Removed more rules that are handled by Prettier: https://github.com/prettier/prettier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removed a bunch of rules around whitespace that now get dealt with by Prettier