Guild CSS/SCSS style guide
npm install stylelint-config-guild!npm
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
``bash`
yarn add --dev stylelint stylelint-scss stylelint-config-guild
json
{
"extends": "stylelint-config-guild"
}
``