Dialtone StyleLint plugin containing rules to help developers maintain dialtone recommended practices for CSS.
You'll first need to install stylelint into your project:
npm install -D stylelint
Next, install @dialpad/stylelint-plugin-dialtone
:
npm install -D @dialpad/stylelint-plugin-dialtone
Add @dialpad/stylelint-plugin-dialtone
to the plugins array in your stylelint.config file.
{
"plugins": ["@dialpad/stylelint-plugin-dialtone"],
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@dialpad/stylelint-plugin-dialtone/no-mixins": true
}
}