Skip to content


No warning on unclosed comment #438

llbeee opened this Issue · 2 comments

3 participants


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).


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.



This case is also important:

/* foo


/* 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.