Stylelint Configuration used in Zattoo. Contains base rules from Stylelint and properties ordering from stylelint-order for CSS and SCSS. Very opinionated.
npm install --save-dev --save-exact @zattoo/stylelint-config
add to your Stylelint configuration file (could be .stylelintrc
):
{
"extends": ["@zattoo/stylelint-config"]
}
To lint
stylelint '{APP_FOLDER}/**/*.*css'
To autofix issues
stylelint '{APP_FOLDER}/**/*.*css' --fix