Skip to content

Instantly share code, notes, and snippets.

@remotezygote
Created May 2, 2016 23:40
Show Gist options
  • Save remotezygote/c70b78826095ce5f493317334f20fd07 to your computer and use it in GitHub Desktop.
Save remotezygote/c70b78826095ce5f493317334f20fd07 to your computer and use it in GitHub Desktop.
{
"rules": {
"at-rule-empty-line-before": ["always", {
"except": ["blockless-group", "first-nested"],
"ignore": ["after-comment"]
}],
"at-rule-name-case": "lower",
"at-rule-no-vendor-prefix": true,
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"block-no-empty": true,
"block-no-single-line": true,
"block-opening-brace-newline-after": "always",
"block-opening-brace-space-before": "always",
"color-hex-case": "upper",
"color-hex-length": "long",
"color-named": "never",
"color-no-hex": true,
"color-no-invalid-hex": true,
"comment-whitespace-inside": "always",
"custom-media-pattern": "seed-.+",
"custom-property-no-outside-root": true,
"custom-property-pattern": "seed-.+",
"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": "alphabetical",
"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",
"font-family-name-quotes": "single-where-recommended",
"function-calc-no-unspaced-operator": true,
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": 0,
"function-name-case": "lower",
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "always-single-line",
"function-whitespace-after": "always",
"indentation": 2,
"max-empty-lines": 1,
"max-line-length": 120,
"max-nesting-depth": [3, {
"ignore": ["at-rules-without-declaration-blocks"]
}],
"no-duplicate-selectors": true,
"no-eol-whitespace": true,
"no-invalid-double-slash-comments": true,
"no-missing-eof-newline": true,
"no-unknown-animations": true,
"stylelint-disable-reason": "always-after",
"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",
"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",
"media-query-list-comma-space-before": "never",
"media-query-parentheses-space-inside": "always",
"number-leading-zero": "never",
"number-max-precision": 3,
"number-no-trailing-zeros": true,
"number-zero-length-no-unit": true,
"property-case": "lower",
"property-no-vendor-prefix": true,
"property-blacklist": [[
"font-family",
"font-weight",
"font-size"
], {
"severity": "warning"
}],
"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"]
}],
"selector-attribute-brackets-space-inside": "always",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-no-universal": true,
"selector-no-vendor-prefix": true,
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-parentheses-space-inside": "always",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": "single",
"selector-root-no-composition": true,
"selector-type-case": "lower",
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-space-before": "never",
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"string-quotes": "single",
"time-no-imperceptible": true,
"unit-case": "lower",
"unit-no-unknown": true,
"value-keyword-case": "lower",
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always-single-line",
"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