Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 2.19 KB

File metadata and controls

50 lines (35 loc) · 2.19 KB

@sumup/eslint-plugin-circuit-ui

ESLint rules to help users follow best practices when using Circuit UI.

Stars Version Coverage License Contributor Covenant

Installation

Depending on your preference, run one of the following in your terminal:

# With npm
npm install --save-dev @sumup/eslint-plugin-circuit-ui

# With yarn v1
yarn add --dev @sumup/eslint-plugin-circuit-ui

Usage

Add the plugin to your ESLint configuration file:

{
  "plugins": ["@sumup/circuit-ui"]
}

Rules are configured under the rules section:

{
  "rules": {
    "@sumup/circuit-ui/<rule-name>": "error"
  }
}

Supported Rules