Skip to content

comment-not-capitalized lint should ignore @todo markers #805

@yegor256

Description

@yegor256

The comment-not-capitalized lint flags comments that start with @todo as not starting with a capital letter.

For example:

# @todo #4475:35min Enable this feature after resize is implemented.
[] > some-object

This triggers the warning:

The comment doesn't start with a capital English letter (comment-not-capitalized)

The lint should recognize @todo (and similar markers like @fixme) as valid comment starters and skip the capitalization check for these lines, or check the first word after the marker.

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