@isfawwaz/eslint-config-react
v1.0.0-rc.1
Published
Fawwaz's ESLint configuration for project that use React
Downloads
1
Maintainers
Readme
@isfawwaz/eslint-config-react
Shared ESLint configuration for projects that use React.
Installation
npm install --save-dev @isfawwaz/eslint-config-react
# or
pnpm add -D @isfawwaz/eslint-config-react
# or
yarn add -D @isfawwaz/eslint-config-react
Usage
Create a .eslintrc.json
file in the project root and extend @isfawwaz/eslint-config-react
.
This package should be used in conjunction with @isfawwaz/eslint-config-base
.
Example
{
"root": true,
"env": {
"browser": true
},
"extends": ["@isfawwaz/eslint-config-base/esm", "@isfawwaz/eslint-config-react"]
}