eslint: Unexpected behavior in comma-dangle, always-multiline: true

version 2.2.0

ESLint raised a warning for the following code:

const oneThing = [
  2, 8
];

IMO, it should not, as the array items are on a single line.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 36 (28 by maintainers)

Commits related to this issue

Most upvoted comments

I’ll take it.