3.1.7 • Published 7 months ago
@bothrs/eslint-config-jest v3.1.7
Bothrs: ESLint configuration for Jest
A very opinionated ESLint configuration for Jest used at Bothrs.
Usage
Install the package as a devDependency.
# NPM
npm i @bothrs/eslint-config-jest -D
# Yarn
yarn add @bothrs/eslint-config-jest -DAdd the package to the extends-section of your eslint configuration.
Example .eslintrc.js file:
// .eslintrc.js
module.exports = {
type: "module",
env: {
es6: true,
node: true,
},
extends: [
'@bothrs/eslint-config-jest',
],
}