@pplancq/stylelint-config

2.1.0 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @pplancq/stylelint-config

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

6.85 kB

Total Files

11

Last publish

Collaborators

  • pplancq