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 comments priority (single_line_comment_style) #5382

Closed
mvorisek opened this issue Dec 20, 2020 · 0 comments · Fixed by #5385
Closed

Fix comments priority (single_line_comment_style) #5382

mvorisek opened this issue Dec 20, 2020 · 0 comments · Fixed by #5385
Labels

Comments

@mvorisek
Copy link
Contributor

Bug report

version: 2.17.2

Code snippet that reproduces the problem

function x()
{
-        return /* what to put here? */;
+        /* what to put here? */
}

needs one more run to stabilize:

-        /* what to put here? */
+        // what to put here?

thus I belive single_line_comment_style rule should be applied later than no_useless_return.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant