0.4.0 • Published 3 months ago
@embyth/stylelint-config v0.4.0
:art: @embyth/stylelint-config
Embyth's shareable configuration for
stylelint
.
:wrench: Installation
# Yarn:
yarn add --dev stylelint prettier @embyth/stylelint-config
# npm:
npm install --save-dev stylelint prettier @embyth/stylelint-config
# pnpm:
pnpm add --save-dev stylelint prettier @embyth/stylelint-config
:eyes: Usage
Add it to your .stylelintrc
file:
{
"extends": "@embyth/stylelint-config"
}
:jigsaw: Extending the config
The defined rules can be modified by adding other configurations, plugins or custom rules:
{
"extends": ["@embyth/stylelint-config", "some-other-config-you-use"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extends", "ignores"]
}
]
}
}
:thinking: Documentations
Read the stylelint docs for more information.