7.1.2 • Published 5 years ago

eslint-config-jest-enzyme v7.1.2

Weekly downloads
6,636
License
MIT
Repository
github
Last release
5 years ago

eslint-config-jest-enzyme

npm version License

Overview

This library is only useful if you are using jest-environment-enzyme. When you are using that library, React and enzyme specific variables are globalized. This lint config lets eslint know about those globals and not warn about them.

Setup

Add this extend to your eslint file:

{
  "extends": [
    "jest-enzyme"
  ]
}

This configuration only applies to test files that end in *.test.js.