1.2.0 • Published 3 years ago
@dre1080/stylelint-config v1.2.0
stylelint-config
A sharable stylelint config object. Inspired by stylelint-config-primer.
Install
Install stylelint, prettier and @dre1080/stylelint-config
:
With Yarn
$ yarn add --dev stylelint prettier @dre1080/stylelint-config
With npm
$ npm install stylelint prettier @dre1080/stylelint-config --save-dev
Usage
Within your stylelint config object You can extend this configuration. This will serve as a base for your config, then you can make overrides in your own config object:
{
"extends": "@dre1080/stylelint-config"
}
Add a prettier config in package.json
:
"prettier": "@dre1080/prettier-config"