Skip to content

Instantly share code, notes, and snippets.

@whatadewitt
Last active July 25, 2017 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatadewitt/cca70c3dbbd414bd8262f0b13916145c to your computer and use it in GitHub Desktop.
Save whatadewitt/cca70c3dbbd414bd8262f0b13916145c to your computer and use it in GitHub Desktop.
Initial Stylelint
{
"extends": "stylelint-config-standard",
"rules": {
"at-rule-no-vendor-prefix": true,
"at-rule-semicolon-space-before": "never",
"block-closing-brace-space-after": "always-single-line",
"color-named": "never",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-no-important": true,
"font-family-name-quotes": "always-unless-keyword",
"function-comma-newline-before": "never-multi-line",
"function-url-quotes": "always",
"max-line-length": [ 80, {
"ignorePattern": ["/^@import\\s+/"]
}],
"max-nesting-depth": 3,
"media-feature-name-no-vendor-prefix": true,
"media-query-list-comma-newline-before": "never-multi-line",
"number-max-precision": 4,
"property-no-vendor-prefix": true,
"selector-attribute-quotes": "always",
"selector-max-id": 0,
"selector-max-specificity": "1,0,0",
"selector-max-type": 2,
"selector-max-universal": 1,
"selector-no-vendor-prefix": true,
"selector-pseudo-class-blacklist": "/^nth-/",
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "double",
"unit-no-unknown": true,
"value-keyword-case": "lower"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment