Closed dandv closed 7 years ago
One workaround would be to change that rule to allow for a / exception:
I would be in favor of this change. If there are recommendations/patches folks would like to propose for the eslint google ruleset, please feel free to comment on the issue Dan linked to above.
I'm going to fix this in autogen by making the line-of-comment-characters optional, which will also address another reported issue #12 so you don't need to change eslint on autogen's account.
I submitted a change that, in theory, should make the new output compliant with eslint. Please take a look and let me know if it's now OK and we can close this issue. Thanks for the feedback!
@dandv — assigning the issue to you to verify whether the change I made addresses your concerns.
Closing this issue as I believe it has been addressed with making the comment line optional (and off by default). If there are any other issues, please add a comment and reopen.
Running eslint produces the spaced-comment error:
Here's the linting rule.
One workaround would be to change that rule to allow for a
/
exception: