Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 556 Bytes

File metadata and controls

42 lines (30 loc) · 556 Bytes

@scaleway/eslint-config-react

A shared eslint react opiniated configuration

Available in Javascript and Typescript


Install

$ pnpm add --dev @scaleway/eslint-config-react

Usage

Add to your .eslintrc

{
  "extends": ["@scaleway/react]"
}

Or for Typescript

{
  "extends": ["@scaleway/react/typescript"],
  "parserOptions": {
    "project": "./path/to/tsconfig.json"
  }
}

We also have a standalong emotion configuration

{
  "extends": ["@scaleway/react", "@scaleway/react/emotion"]
}