@scaleway/eslint-config-react
v5.2.2
Published
Scaleway React eslint shared config
Downloads
20,561
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"]
}