Skip to content

v3.7.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 00:20
· 66 commits to main since this release
v3.7.0
9417e6e

v3.7.0: New require-readable-spacing rule for blank lines

This release adds the require-readable-spacing rule, which enforces blank lines between statements. No existing rule changes behavior, and the new rule runs only when you enable it.

🚀 Added

  • require-readable-spacing: The rule requires blank lines after imports, between top-level statements, around declarations and multi-line bindings, before control flow, and after statements that end in a block. For example, const a = 1; followed by foo(a); reports, and the fix inserts the blank line. - by @howmanysmall in #99
"small-rules/require-readable-spacing": ["error", { "afterBlocks": false, "allowAttachedUses": true }]

Full Changelog: v3.6.1...v3.7.0