@scaleway/eslint-config-react
v4.0.9
Published
Scaleway React eslint shared config
Downloads
13,917
Readme
@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"]
}