capitalized-comments causes eslint to terminate with error on comment with just a space #7663
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
patch candidate
This issue may necessitate a patch release in the next few days
rule
Relates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
No configuration file.
What did you do? Please include the actual source code causing the issue.
With this file:
//
Note that there is a single space after the
//
.I ran:
eslint --rule 'capitalized-comments: 2'
What did you expect to happen?
Expected lint to be successful.
What actually happened? Please include the actual, raw output from ESLint.
The text was updated successfully, but these errors were encountered: