@sumup-oss/eslint-plugin-circuit-ui
v5.1.1
Published
ESLint rules to lint Circuit UI.
Downloads
7,475
Readme
@sumup-oss/eslint-plugin-circuit-ui
ESLint rules to help users follow best practices when using Circuit UI.
Installation
Depending on your preference, run one of the following in your terminal:
# With npm
npm install --save-dev @sumup-oss/eslint-plugin-circuit-ui
# With yarn v1
yarn add --dev @sumup-oss/eslint-plugin-circuit-ui
Usage
Add the plugin to your ESLint configuration file:
{
"plugins": ["@sumup-oss/circuit-ui"]
}
Rules are configured under the rules section:
{
"rules": {
"@sumup-oss/circuit-ui/<rule-name>": "error"
}
}