object-curly-newline
and comments.
#6381
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
From https://twitter.com/ponko2_jp/status/741573129105854465
What version of ESLint are you using?
What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
What actually happened? Please include the actual, raw output from ESLint.
The code was modified to:
Currently, this rule checks whether an object literal is multiline or not by comparing the following 2 tokens.
So comments are ignored.
I think this rule should check comments as well.
The text was updated successfully, but these errors were encountered: