Indent level (parameters: first) for async arrow functions #13497
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
Probably the same as #10531 which was automatically closed due to inactivity 2 years ago.
Tell us about your environment
ESLint Version: 7.4.0
Node Version: 14.5.0
yarn Version: 1.22.4
What parser (default, Babel-ESLint, etc.) are you using? espree & @typescript-eslint/parser
Configuration
What did you do?
node_modules/.bin/eslint foo.js
What did you expect to happen?
Run without errors
What actually happened?
/private/tmp/foo/foo.js 2:1 error Expected indentation of 2 spaces but found 19 indent ✖ 1 problem (1 error, 0 warnings) 1 error and 0 warnings potentially fixable with the `--fix` option.
Note: if I remove the async then the error goes away (the "parameters": "first" is honoured).
The text was updated successfully, but these errors were encountered: