Skip to content

Instantly share code, notes, and snippets.

@funyx funyx/.stylelintrc
Created Jul 2, 2016

Embed
What would you like to do?
{
"rules": {
"at-rule-empty-line-before": "never",
"at-rule-no-vendor-prefix": true,
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"block-closing-brace-space-after": "always-single-line",
"block-closing-brace-space-before": "always-single-line",
"block-no-empty": true,
"block-opening-brace-newline-after": "always",
"block-opening-brace-newline-before": "always-single-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "upper",
"color-hex-length": "long",
"color-no-invalid-hex": true,
"comment-empty-line-before": "always",
"comment-whitespace-inside": "always",
"custom-media-pattern": string,
"custom-property-no-outside-root": true,
"custom-property-pattern": string,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-semicolon-newline-after": "always",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-semicolon-space-before": "never",
"declaration-block-single-line-max-declarations": 1,
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"function-blacklist": string,
"function-calc-no-unspaced-operator": true,
"function-comma-newline-after": "never-multi-line",
"function-comma-newline-before": "never-multi-line",
"function-comma-space-after": "always",
"function-comma-space-before": "never",
"function-linear-gradient-no-nonstandard-direction": true,
"function-parentheses-newline-inside": "always-multi-line",
"function-url-quotes": "double",
"function-whitelist": ["rgb","rgba","calc","-moz-calc","-webkit-calc"],
"function-whitespace-after": "always",
"indentation": 4,
"max-empty-lines": 1,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-vendor-prefix": true,
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "always",
"media-query-list-comma-newline-before": "always",
"media-query-list-comma-space-after": "always",
"media-query-list-comma-space-before": "always",
"no-eol-whitespace": true,
"number-leading-zero": "always",
"number-max-precision": 4,
"number-no-trailing-zeros": true,
"number-zero-length-no-unit": true,
"property-blacklist": [],
"property-unit-blacklist": [],
"property-unit-whitelist": [],
"root-no-standard-properties": true,
"rule-nested-empty-line-before": "never",
"rule-non-nested-empty-line-before": [ "never", { ignore: ["after-comment"] }],
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "never",
"selector-list-comma-newline-after": "always-multi-line",
"selector-list-comma-newline-before": "always-multi-line",
"selector-list-comma-space-after": "always",
"selector-list-comma-space-before": "never",
"selector-pseudo-element-colon-notation": "double",
"selector-root-no-composition": true,
"string-quotes": "double",
"unit-blacklist": string,
"unit-whitelist": ["px", "em", "rem", "deg", "%", "s"],
"value-list-comma-newline-after": "never-multi-line",
"value-list-comma-newline-before": "always-multi-line",
"value-list-comma-space-after": "always",
"value-list-comma-space-before": "never",
"value-no-vendor-prefix": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.