Clarity Improvement proposal
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @clr/eslint-plugin
:
npm install @clr/eslint-plugin --save-dev
Add the recommended configuration to your eslint.confing.mjs
configuration file:
import pluginClarity from "@clr/eslint-plugin";
{
...pluginClarity.configs.recommended,
}
Name | |
---|---|
✅ | recommended |
🔧 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 | 🔧 |