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

Fix handling of trailing, same-line comments #17

Open
amanda-mitchell opened this issue Jan 21, 2021 · 0 comments
Open

Fix handling of trailing, same-line comments #17

amanda-mitchell opened this issue Jan 21, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@amanda-mitchell
Copy link
Owner

amanda-mitchell commented Jan 21, 2021

When the tool encounters this pattern:

somethingWithAViolation(); // a comment

The trailing comment is moved to being a leading comment, so that it looks like this:

// a comment
// TODO: ...
// eslint-disable-next-line ...
somethingWithAViolation();
@amanda-mitchell amanda-mitchell added the help wanted Extra attention is needed label Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant