Skip to content

[New feature] Rule to check useless double space #175

Description

@david-maison

There is already a rule to check for useless empty line at the end of a file and for trailing whitespaces.
What about adding a rule to check for useless double space (without warning for leading whitespaces)?

Example:

let s =
  print_endline  "Hi!"
               ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions