Rule function-paren-newline incorrectly formats a method with a ordered array as a return type #15091
Labels
3rd party plugin
This is an issue related to a 3rd party plugin, config, or parser
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
Projects
Environment
Node version: v16.9.1
npm version: 7.21.1
Local ESLint version: 7.32.0
Global ESLint version: none
Operating System: Ubuntu 20.04
What parser are you using?
@typescript-eslint/parser
What did you do?
What did you expect to happen?
I expect the following to work even without the disable next line.
Unfortunately it transforms it to:
What actually happened?
Expected newline before ')'.eslintfunction-paren-newline
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: