@alfalab/stylelint-core-vars
Advanced tools
core-components css linter
Weekly downloads
Readme
Stylelint плагин, проверяющий использование дизайн-токенов
yarn add --dev stylelint @alfalab/stylelint-core-vars
или
npm install --save-dev stylelint @alfalab/stylelint-core-vars
Добавьте в свой stylelint конфиг:
{
"plugins": [
"@alfalab/stylelint-core-vars"
],
"rules": {
"stylelint-core-vars/use-vars": true,
"stylelint-core-vars/use-mixins": true,
"stylelint-core-vars/use-one-of-vars": [
true,
{
"severity": "warning"
}
],
"stylelint-core-vars/use-one-of-mixins": [
true,
{
"severity": "warning"
}
],
"stylelint-core-vars/do-not-use-dark-colors": [
true,
{
"severity": "warning"
}
],
"stylelint-core-vars/do-not-use-old-vars": [
true,
{
"severity": "warning"
}
],
},
}
FAQs
core-components css linter
The npm package @alfalab/stylelint-core-vars receives a total of 635 weekly downloads. As such, @alfalab/stylelint-core-vars popularity was classified as not popular.
We found that @alfalab/stylelint-core-vars demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 18 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.