@mels/eslint-config-jest
v1.0.0
Published
Shareable Jest ESLint config.
Downloads
10
Readme
✨ Features
This package contains all my Jest rules as an extensible shared ESLint config. It extends a number of configs as a base:
- eslint-plugin-jest recommended rules
- eslint-plugin-jest style rules
- eslint-plugin-testing-library React rules (but only if this config detects that
@testing-library/react
is installed)
Install
With npm:
npm install @mels/eslint-config-jest --save-dev
With yarn:
yarn add @mels/eslint-config-jest --dev
How To Use
// .eslintrc.js
module.exports = {
extends: ['@mels/base', '@mels/jest'],
// ... rest of config
};
Credits
- Toolkit logo by Creatype from www.flaticon.com
License
MIT