1.7.0 • Published 7 months ago
@broxus/stylelint-config v1.7.0
Recommended Stylelint configuration to create formatted code with best practices.
Installation
Install the package as development dependency, alongside stylelint package
npm i @broxus/stylelint-config stylelint -Dor
yarn add @broxus/stylelint-config stylelint -DUsage
Create the .stylelintrc file in the root directory of your project and put code below to the file
{
"extends": [
...
"@broxus/stylelint-config",
...
],
"rules": {
// ...your own custom rules and overrides
}
}or add code below to the package.json
{
...
"stylelint": {
"extends": ["@broxus/stylelint-config"]
},
...
}