Based on eslint-plugin-jest list of rule with some adaptations base on codestyle at Bedrockstreaming. This plugin also includes default rules from eslint-plugin-testing-library. Only a subset of rules are selected. Check configuration file to understand which rule is disabled and why.
npm install --save-dev @bedrockstreaming/eslint-config-jest
yarn add -D @bedrockstreaming/eslint-config-jest
Extends the configuration in the .eslintrc
file at the root of your project.
{
"extends": "@bedrockstreaming/eslint-config-jest"
}