Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

No warning on unclosed comment #438

Open
llbeee opened this Issue · 2 comments

3 participants

@llbeee

If one lints this: /* foo

.. there are no warning. It could seem like a trivial issue, however that could disable a lot of code (and unless it's a major part of your code, one might not notice it).

@stubbornella

I've added the "rule" label. Sounds like a good potential rule... I had this exact problem last week at the end of a file, when the files were concatenated, all the subsequent rules were disabled.

@llbeee

Nice!

This case is also important:

/* foo

[code]

/* bar */

This requires to check for /* within comments, so it's not considered to be written as one comment; /* foo .. bar */.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.