@clr/eslint-plugin
v0.0.4
Published
Clarity Design System ESLint plugin
Readme
@clr/eslint-plugin
Clarity Improvement proposal
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install @clr/eslint-plugin:
npm install @clr/eslint-plugin --save-devUsage
Add the recommended configuration to your eslint.confing.mjs configuration file:
import pluginClarity from "@clr/eslint-plugin";
{
...pluginClarity.configs.recommended,
}Configurations
| | Name |
| :- | :------------ |
| ✅ | recommended |
Rules
🔧 Automatically fixable by the --fix CLI option.
| Name | Description | 🔧 | | :----------------------------------------------------------------- | :-------------------------------------------------- | :- | | no-deprecated-components | Use clr-file instead other cds-file or native input | 🔧 | | no-inline-styles | No raw values for colors | 🔧 |
