ESLint shareable config for jest-environment-enzyme globals. Current version 7.1.2, released August 2020. This package is part of the enzyme-matchers monorepo from Formidable Labs. It defines Jest and Enzyme global variables (e.g., mount, shallow, render) to prevent ESLint warnings when using jest-environment-enzyme. Only useful in combination with that environment. Low maintenance cadence; no major changes after v7.0.0.
npm install eslint-config-jest-enzymeVerified import paths — ran on the pinned version, not inferred.
Configures ESLint to acknowledge jest-environment-enzyme globals like mount, shallow, render.
Replace all uses of toHaveTagName with toHaveDisplayName.
Consider migrating to @testing-library/jest-dom or custom ESLint rules.
Ensure test files match the pattern or override overrides in config.
Run npm install eslint-config-jest-enzyme --save-dev
Install eslint-plugin-jest-enzyme or ensure the correct extends value.
No dependency data recorded yet.