Skip to content

zattoo/stylelint-config

Repository files navigation

Zattoo Stylelint Configuration

Stylelint Configuration used in Zattoo. Contains base rules from Stylelint and properties ordering from stylelint-order for CSS and SCSS. Very opinionated.

Install

npm install --save-dev --save-exact @zattoo/stylelint-config

Configure

add to your Stylelint configuration file (could be .stylelintrc):

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

Usage

To lint

stylelint '{APP_FOLDER}/**/*.*css'

To autofix issues

stylelint '{APP_FOLDER}/**/*.*css' --fix