Skip to content

twinscom/stylelint-config

Repository files navigation

@twinscom/stylelint-config

npm (scoped)

Based on stylelint-config-standard.

Installation

npm install --save-dev @twinscom/stylelint-config

Then set your .stylelintrc.json config to:

{
  "extends": ["@twinscom/stylelint-config"]
}

SCSS

Based on stylelint-config-standard-scss.

{
  "extends": ["@twinscom/stylelint-config/scss"]
}

CSS-in-JS (styled-components/Emotion)

Same as SCSS, but for *.{j,t}sx files.

{
  "extends": ["@twinscom/stylelint-config/css-in-js"]
}

License

CC0-1.0