Skip to content

Semicolon is added after single line comment #25

@robertmaier

Description

@robertmaier

Hey there :)
I've just tried to add stylelint-stylus to our codebase and came across a bug in the semicolon rule.

using "stylus/semicolon": "always", the semicolon is added after the single line comment

before:
height: 40px // comment

after:
height: 40px // comment;

this causes the linter to still throw an error, as the semicolon is not part of the code, but part of the comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions