Skip to content

Instantly share code, notes, and snippets.

@konitter
Created April 15, 2016 08:58
Show Gist options
  • Save konitter/58c851c657f1852478037bf0659f772d to your computer and use it in GitHub Desktop.
Save konitter/58c851c657f1852478037bf0659f772d to your computer and use it in GitHub Desktop.
.stylelintrc (v5.4.0)
{
"rules": {
"color-hex-case": "upper",
"color-hex-length": "short",
"color-named": "never",
"color-no-hex": null,
"color-no-invalid-hex": true,
"font-family-name-quotes": "single-where-recommended",
"font-weight-notation": "named-where-possible",
"function-blacklist": null,
"function-calc-no-unspaced-operator": true,
"function-comma-newline-after": null,
"function-comma-newline-before": null,
"function-comma-space-after": "always",
"function-comma-space-before": "never",
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": null,
"function-parentheses-newline-inside": null,
"function-parentheses-space-inside": "never",
"function-url-data-uris": null,
"function-url-quotes": "none",
"function-whitelist": null,
"function-whitespace-after": "always",
"number-leading-zero": "never",
"number-max-precision": null,
"number-no-trailing-zeros": true,
"number-zero-length-no-unit": true,
"string-no-newline": true,
"string-quotes": "single",
"time-no-imperceptible": null,
"unit-blacklist": null,
"unit-no-unknown": true,
"unit-whitelist": null,
"value-no-vendor-prefix": null,
"value-list-comma-newline-after": null,
"value-list-comma-newline-before": null,
"value-list-comma-space-after": "always",
"value-list-comma-space-before": "never",
"custom-property-no-outside-root": true,
"custom-property-pattern": null,
"property-blacklist": null,
"property-no-vendor-prefix": null,
"property-unit-blacklist": null,
"property-unit-whitelist": null,
"property-value-blacklist": null,
"property-value-whitelist": null,
"property-whitelist": null,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"declaration-no-important": true,
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-ignored-properties": true,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-properties-order": null,
"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-block-trailing-semicolon": "always",
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-after": "always-single-line",
"block-closing-brace-space-before": "always-single-line",
"block-no-empty": true,
"block-no-single-line": true,
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-newline-before": null,
"block-opening-brace-space-after": null,
"block-opening-brace-space-before": "always",
"selector-class-pattern": null,
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-id-pattern": null,
"selector-max-specificity": null,
"selector-no-attribute": null,
"selector-no-combinator": null,
"selector-no-id": true,
"selector-no-type": null,
"selector-no-universal": true,
"selector-no-vendor-prefix": null,
"selector-pseudo-element-colon-notation": "double",
"selector-root-no-composition": true,
"selector-type-case": "lower",
"selector-list-comma-newline-after": "always-multi-line",
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-space-before": "never",
"root-no-standard-properties": true,
"rule-nested-empty-line-before": ["always", { "except": ["first-nested"], "ignore": ["after-comment"] }],
"rule-non-nested-empty-line-before": ["always", { "ignore": ["after-comment"] }],
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-vendor-prefix": true,
"media-feature-no-missing-punctuation": true,
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"custom-media-pattern": null,
"media-query-parentheses-space-inside": "never",
"media-query-list-comma-newline-after": "always-multi-line",
"media-query-list-comma-newline-before": "never-multi-line",
"media-query-list-comma-space-after": "always-single-line",
"media-query-list-comma-space-before": "never",
"at-rule-empty-line-before": ["always", { "ignore": ["after-comment"] }],
"at-rule-no-vendor-prefix": true,
"at-rule-semicolon-newline-after": "always",
"comment-empty-line-before": "always",
"comment-whitespace-inside": "always",
"indentation": 2,
"max-empty-lines": 1,
"max-line-length": null,
"max-nesting-depth": 2,
"no-browser-hacks": true,
"no-descending-specificity": true,
"no-duplicate-selectors": true,
"no-eol-whitespace": true,
"no-indistinguishable-colors": null,
"no-invalid-double-slash-comments": true,
"no-missing-eof-newline": true,
"no-unknown-animations": true,
"no-unsupported-browser-features": null,
"stylelint-disable-reason": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment