ESLint plugin providing formatting rules for Jest test suites, version 3.1.0 (supports ESLint 8.x). It enforces consistent padding (blank lines) around test blocks like describe, test, after-all, etc. Most rules are auto-fixable. Differentiators: focused solely on formatting (not linting logic), with recommended and strict config presets. Release cadence is sporadic; last major was v3.0.0 with breaking changes. Active maintenance status.
npm install eslint-plugin-jest-formattingVerified import paths — ran on the pinned version, not inferred.
Configures ESLint to enforce padding around describe and test blocks in Jest files.
Review tests that relied on padding between consecutive awaits or sync statements; adjust expectations accordingly.
Migrate to the new padding-around-* rules (e.g., padding-around-test-blocks instead of padding-before-test-blocks).
Update Node to a supported version (10.12+ or 12+).
Use new rule names: 'padding-around-test-blocks' etc.
Run 'npm install eslint-plugin-jest-formatting --save-dev' and add 'jest-formatting' to plugins in .eslintrc.
Use 'extends: ["plugin:jest-formatting/recommended"]' instead of 'extends: ["jest-formatting/recommended"]'.
No dependency data recorded yet.