Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 803 Bytes

File metadata and controls

30 lines (21 loc) · 803 Bytes

@bedrockstreaming/eslint-config-jest

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.

Install

With NPM

npm install --save-dev @bedrockstreaming/eslint-config-jest

With Yarn

yarn add -D @bedrockstreaming/eslint-config-jest

Usage

Extends the configuration in the .eslintrc file at the root of your project.

{
  "extends": "@bedrockstreaming/eslint-config-jest"
}