Skip to content

Placing comment not on a new line voids rule apply #454

@Challanger524

Description

@Challanger524

Comments should go on their own lines.

Give some error or something!? It was hard to debug.

Examples:

[*.md] # rule: MD009: 2+ spaces (or `\`) as for `<br/>`
indent_style = tab
indent_size  = 2
#trim_trailing_whitespace = false # scrap this nonesence, better to use `\`

# rule: MD009: 2+ spaces (or \) as for <br/> after [*.md] will broke rule application without error/warning.

same goes for # comment in other places like:

[*.{xml,y{a,}ml,json,code-workspace}]
indent_style = space #required
indent_size = 2

#required will break .json formatting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions