Scaleway React eslint shared config
npm install @scaleway/eslint-config-react@scaleway/eslint-config-reactA shared eslint react opiniated configuration
Available in Javascript and Typescript
---
``bash`
$ pnpm add --dev @scaleway/eslint-config-react
Add to your .eslintrc
`json`
{
"extends": ["@scaleway/react]"
}
Or for Typescript
`json`
{
"extends": ["@scaleway/react/typescript"],
"parserOptions": {
"project": "./path/to/tsconfig.json"
}
}
We also have a standalong emotion configuration
`json``
{
"extends": ["@scaleway/react", "@scaleway/react/emotion"]
}