Skip to content

Instantly share code, notes, and snippets.

@JanBe
Last active July 26, 2017 14:18
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 JanBe/3482f162ff67c2084d39677f893bd864 to your computer and use it in GitHub Desktop.
Save JanBe/3482f162ff67c2084d39677f893bd864 to your computer and use it in GitHub Desktop.
Stylelint AirBnB Styleguide configuration
module.exports = {
"rules": {
"selector-max-id": 0,
"indentation": 2,
"block-opening-brace-space-before": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"block-opening-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"rule-empty-line-before": ["always", { "except": ["first-nested"], "ignore": ["after-comment"] }],
"comment-empty-line-before": "always"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment