Using npm:
npm install -D @hpi-schul-cloud/stylelint-config
Using Yarn:
yarn add @hpi-schul-cloud/stylelint-config --dev
- Create a new file and name it as
stylelint.config.js
- Just extend
@hpi-schul-cloud/stylelint-config
{
"extends": "stylelint-config-standard",
// enter your custom rules here
}
Learn more on how to extend the config here: https://github.com/stylelint/stylelint-config-standard#extending-the-config