Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 723 Bytes

File metadata and controls

37 lines (26 loc) · 723 Bytes

stylelint-plugin-dialtone

Dialtone StyleLint plugin containing rules to help developers maintain dialtone recommended practices for CSS.

Installation

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

Usage

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
  }
}