max-len sometimes fails to report errors when ignoreComments
is true
#6564
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
What version of ESLint are you using? 2.13.1
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
I expected ESLint to report an error on the second line, since that line is longer than 20 characters.
What actually happened? Please include the actual, raw output from ESLint.
ESLint did not report any errors.
This bug only seems to occur when there is a long commented line somewhere in the file, and there is a non-commented line of exactly the same length later in the file.
The text was updated successfully, but these errors were encountered: