Skip to content

New Rule: Separator Line Length #2057

@nithinbandaru1

Description

@nithinbandaru1

New Rules

Rule Type Default Description
MD035.length int 3 Expected number of characters used in the separator line
MD035.character char - Character used for the separator (-, *, _)

Why this is useful

  • Ensures consistent visual structure across markdown files
  • Reduces noise in code reviews due to stylistic differences
  • Helps teams enforce documentation standards
  • Aligns with how other linting rules enforce structural consistency

Updates to question

  • Removed
    • | separator_line_allow_spaces | boolean | false | Whether spaces between separator characters are allowed (e.g., - - -) |
  • Updated to fit with existing rule MD035.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions