Netzstrategen stylelint config
Standard stylelint config for Netzstrategen projects.
Installation
Install the configuration and all peer dependencies:
npm install --save-dev @netzstrategen/stylelint-config stylelint
Usage
Create the stylelint configuration
Create a stylelint configuration json file:
.stylelintrc.json
{
"extends": [
"@netzstrategen/stylelint-config"
]
}
Modifying the config
Overwrite rules from the default Netzstrategen config:
{
"extends": [
"stylelint-config-netzstrategen"
],
"rules": {
"no-empty-source": null
}
}
Stylelint has an extensive list of rules. Additional rules are provided by the following packages: