@isfawwaz/eslint-config-jest
Shared ESLint configuration for projects that use Jest for testing.
Installation
npm install --save-dev @isfawwaz/eslint-config-jest
# or
pnpm add -D @isfawwaz/eslint-config-jest
# or
yarn add -D @isfawwaz/eslint-config-jest
Usage
Create a .eslintrc.json
file in the project root and extend @isfawwaz/eslint-config-jest
.
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-jest"]
}