Skip to content

Add allow_compact_empty_blocks boolean option to no_empty_block #6839

Closed

Description

@rgoldberg

New Issue Checklist

Feature or Enhancement Proposal

Please add a allow_compact_empty_blocks boolean option to no_empty_block, which would default to false (giving existing behavior).

// always triggering
{ }
{ a }

// triggering when allow_compact_empty_blocks: false (existing & future default behavior)
{}

// non-triggering when allow_compact_empty_blocks: true
{}

Activity

  1. added a commit that references this issue on Jul 25, 2026
    60a5be6
  2. added
    enhancement
    good first issue
    on Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions