Created
September 22, 2016 14:27
-
-
Save akrigline/5de2c80f3e10ef3e3c1dfb16f3322112 to your computer and use it in GitHub Desktop.
stylelintrc
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": { | |
"block-closing-brace-newline-before": "always", | |
"block-opening-brace-newline-after": "always", | |
"block-opening-brace-space-before": "always", | |
"block-no-single-line": true, | |
"color-hex-case": "lower", | |
"color-hex-length": "long", | |
"color-no-hex": true, | |
"color-no-invalid-hex": true, | |
"custom-property-no-outside-root": true, | |
"declaration-block-no-duplicate-properties": true, | |
"declaration-block-no-ignored-properties": true, | |
"declaration-block-no-shorthand-property-overrides": true, | |
"declaration-block-semicolon-newline-after": "always", | |
"declaration-block-semicolon-space-before": "never", | |
"declaration-block-trailing-semicolon": "always", | |
"declaration-colon-space-after": "always", | |
"declaration-colon-space-before": "never", | |
"declaration-no-important": true, | |
"font-weight-notation": "numeric", | |
"length-zero-no-unit": true, | |
"max-empty-lines": 2, | |
"max-nesting-depth": 4, | |
"no-browser-hacks": true, | |
"no-duplicate-selectors": true, | |
"no-eol-whitespace": true, | |
"no-extra-semicolons": true, | |
"no-invalid-double-slash-comments": true, | |
"no-unknown-animations": true, | |
"number-leading-zero": "always", | |
"number-max-precision": 4, | |
"number-no-trailing-zeros": true, | |
"property-case": "lower", | |
"property-no-vendor-prefix": true, | |
"root-no-standard-properties": true, | |
"rule-nested-empty-line-before": [ "always", { except: ["first-nested"] } ], | |
"rule-non-nested-empty-line-before": "always", | |
"string-quotes": "double", | |
"time-no-imperceptible": true, | |
"unit-case": "lower", | |
"unit-whitelist": ["px", "em", "rem", "%", "s", "vw", "vh", "deg", "ms"], | |
"unit-no-unknown": true, | |
"value-no-vendor-prefix": true, | |
"indentation": [2, { | |
"except": ["value"] | |
}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment