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
- Fix: multiple elements on same line in `comma-dangle` (fixes #5469) — committed to eslint/eslint by alberto 8 years ago
I’ll take it.