@newsteam/stylelint-config
v1.0.0
Published
Shared config for stylelint
Downloads
250
Readme
@newsteam/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:
npm install --save-dev @newsteam/stylelint-config
- Install the shared configuration peer dependencies (npm 5+):
npx install-peerdeps --dev @newsteam/stylelint-config
- Add
"extends": "@newsteam/stylelint-config"
to your .stylelintrc.
Maintenance
You can run tests with npm test
.