0.0.4 ⢠Published 11 months ago
@clr/eslint-plugin v0.0.4
@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 | š§ |