Chialab's linting rules for Stylelint.
Install Stylelint:
npm i -D stylelint
yarn add -D stylelint
Install @chialab/stylelint-config
:
npm i -D @chialab/stylelint-config
yarn add -D @chialab/stylelint-config
Create a .stylelintrc.json
file and add the configuration:
.stylelintrc.json
{
"extends": "@chialab/stylelint-config"
}
Install the Stylelint extension for your IDE (optional):