1.0.3 • Published 6 years ago

stylelint-config-guild v1.0.3

Weekly downloads
508
License
MIT
Repository
-
Last release
6 years ago

npm

Guild Education CSS/SCSS Style

At Guild, our CSS/SCSS style is based on stylelint-config-standard with a few exceptions:

  • at-rule-empty-line-before ignores else and blockless-after-same-name-blockless and has except set to first-nested. See the docs
  • block-closing-brace-newline-after ignores if and else
  • selector-list-comma-newline-after is set to always-multi-line
  • Use the stylelint-scss at-rule-no-unknown rule instead of the core stylelint rule

Install

yarn add --dev stylelint stylelint-scss stylelint-config-guild

Usage

Add this to your .stylelintrc file:

{
  "extends": "stylelint-config-guild"
}