This package provides pplancq stylelint as an extensible shared config.
We export three stylelint configurations for your usage.
npm install --save-dev @pplancq/stylelint-config
Use with command to enable the default configuration.
npx init-stylelint-config
This is the default configuration. To use, add "stylelint": { "extends": ["@pplancq/stylelint-config"] }
to your package.json
.
if you use prettier to format your css files, this package provides an alternative configuration that takes prettier directly into account. To do this, install the following additional packages:
npm install --save-dev prettier stylelint-prettier
To use is alternative configuration, replace "stylelint": { "extends": ["@pplancq/stylelint-config/prettier"] }
to your package.json
.