Open llbeee opened 10 years ago
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.
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 */.
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).