@arcbees/stylelint
v1.0.4
Published
Stylelint configuration used across Arcbees projects
Downloads
21
Readme
@arcbees/stylelint
Arcbees’s stylelint rules and configs.
Installation
Install @arcbees/stylelint
, stylelint, stylelint-order.
yarn add --dev @arcbees/stylelint stylelint stylelint-order
Usage
Arcbees's preferred rules come bundled in this package. To use them in your project, create a .stylelintrc
file at the root of your project and extend @arcbees/stylelint
.
{
"extends": "@arcbees/stylelint"
}
You can also create a script in your package.json
and run it with yarn yarn stylelint
.
{
"scripts": {
"stylelint": "stylelint \"./src/**/*.scss\""
}
}
Configuration
Some of the rules provided by this package may not suit the needs of your project. You can override them in .stylelintrc
:
{
"extends": "@arcbees/stylelint",
"rules": {
"selector-type-no-unknown": null
}
}