0.9.1 • Published 1 year ago
@kochurko/stylelint-config v0.9.1
@kochurko/stylelint-config
A stylelint configuration for Prettier and order.
Install
npm i --save-dev stylelint postcss @kochurko/stylelint-config
Usage
Add the following to your .stylelintrc
:
{
"extends": "@kochurko/stylelint-config"
}
Order
The order of the rules is as follows:
{
"extends": [
"@kochurko/stylelint-config",
"@kochurko/stylelint-config/order"
]
}
Prettier
If you're utilizing Prettier, augment the root configuration with supplementary rules.
{
"extends": [
"@kochurko/stylelint-config",
"@kochurko/stylelint-config/prettier"
]
}
0.9.1
1 year ago