1.0.4 • Published 8 years ago
@arcbees/stylelint v1.0.4
@arcbees/stylelint
Arcbees’s stylelint rules and configs.
Installation
Install @arcbees/stylelint, stylelint, stylelint-order.
yarn add --dev @arcbees/stylelint stylelint stylelint-orderUsage
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
}
}