@sweetlikepete/stylelint-config
v1.0.12
Published
Shared config for stylelint
Downloads
53
Maintainers
Readme
@sweetlikepete/stylelint-config
This package provides a shared config for stylelint and several of its plugins.
Usage
A single stylelint configuration is exported.
Our default export contains all of our stylelint rules. It requires the following peer dependencies:
stylelint
stylelint-order
stylelint-scss
Installation
- Install the shared configuration:
yarn add --dev @sweetlikepete/stylelint-config
- Install the shared configuration peer dependencies (npm 5+):
npx install-peerdeps --dev @sweetlikepete/stylelint-config
- Add
"extends": "@sweetlikepete/stylelint-config"
to your .stylelintrc.
Maintenance
You can run tests with npm test
.