A shared eslint react opiniated configuration
Available in Javascript and Typescript
$ pnpm add --dev @scaleway/eslint-config-react
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"]
}