Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[autofix] Comment before id identifier gets duplicated on each --fix call #20

Closed
Cactusbone opened this issue Dec 8, 2022 · 0 comments · Fixed by #23
Closed

[autofix] Comment before id identifier gets duplicated on each --fix call #20

Cactusbone opened this issue Dec 8, 2022 · 0 comments · Fixed by #23

Comments

@Cactusbone
Copy link

When using --fix, comment after an id identifier gets duplicated

for example

.someClass
    margin-top 5px // comment
#someId
    padding 0

becomes

.someClass
    margin-top 5px // comment // comment
#someId
    padding 0

and another call gets it to

.someClass
    margin-top 5px // comment // comment // comment // comment
#someId
    padding 0
@Cactusbone Cactusbone changed the title Comment before id identifier gets duplicated on each --fix call [autofix] Comment before id identifier gets duplicated on each --fix call Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant