string-enum ignores comments
havenchyk opened this issue · 6 comments
havenchyk commented
I noticed that string-enum
rule ignores comments, so if you have comments on the right like
enum Events {
MyEvent2 = 'My Event 2' // my event 2
MyEvent1 = 'My Event 1' // my event 1
will become
enum Events {
MyEvent1 = 'My Event 1' // my event 2
MyEvent2 = 'My Event 2' // my event 1
which is wrong
Do you want to accept a PR for it?
infctr commented
@havenchyk
Will appreciate a PR
RodrigoMural commented
I'm noticing the same thing with function props, is the PR in place?