new-cap rule crashes on odd but valid JS #1053
Labels
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
The "new-cap" crashes on this code:
At this line:
TypeError: Object 1 has no method 'charAt'
at getCap (..\eslint\lib\rules\new-cap.js:62:29)
The text was updated successfully, but these errors were encountered: