Skip to content

Support banning of em-dash and other common LLM characters. #11

Closed

Description

@webern

Essentially I don't want em-dashes or, arrows or elipses in my markdown. I want them to use the ascii equivalents. And I want some easy ways to configure what is and isn't banned because I might want to allow certain characters for an architecture diagram, for example.

Here's a sample of what I'm talking about:

Character Name LLM Usage Preferred Equivalent
— Em Dash Stylistic breaks and parenthetical thoughts -- or -
– En Dash Number, date, and time ranges -
− Minus Sign Exact mathematical notation -
• Bullet Literal list formatting - or *
─ Box Drawing Visual dividers and text-based tables ---

So I think the lint should be highly configurable with "banned character" and "suggested replacement", or something like that. But also, it should be easy to turn it on and just take the default list of banned->replacements.

When implementing this issue, you should search the Internet to try and really understand what people hate, and what people are looking for when they are trying to detect LLM slop. Make a reasonable default character banning default for this lint.

I think this lint should ignore stuff that is inside of fences:

Architecture drawing inside of a fence

Because I think it is common to want the drawing characters inside those.

Activity

  1. added
    enhancement
    good first issue
    area/lint
    on Sep 24, 2026
  2. added 2 commits that reference this issue on Sep 24, 2026
    c5eb882
    dfbfc00
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

    area/lintenhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions