@pplancq/stylelint-config
v2.1.0
Published
pplancq stylelint config
Downloads
2
Readme
@pplancq/stylelint-config
This package provides pplancq stylelint as an extensible shared config.
Usage
We export three stylelint configurations for your usage.
Install
npm install --save-dev @pplancq/stylelint-config
stylelint config
Use with command to enable the default configuration.
npx init-stylelint-config
@pplancq/stylelint-config
This is the default configuration. To use, add "stylelint": { "extends": ["@pplancq/stylelint-config"] }
to your package.json
.
Alternative configuration
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
.