[indent] expected indentation inconsistent for class X extends/implements Y
#1597
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Milestone
intro note: I understand formatting line breaks & indents in a multi-line declaration like
class X extends Y implements I1, I2, I3
is a complicated & opinionated problem, especially as the class names grow longer and/or have generic args (inb4 "use prettier" 😅), I'm just reporting a small inconsistency between howextends
andimplements
behaves.Repro
Expected Result
In the above examples,
... extends X ...
and... implements Y ...
with identical line breaks should have identical indentation.Actual Result
extends
andimplements
require different indent when the class declaration is multi-line.Versions
@typescript-eslint/eslint-plugin
2.19.2
@typescript-eslint/parser
2.19.2
TypeScript
3.7.2
ESLint
6.8.0
node
11.9
npm
6.5
(but I don't use
npm
, onlyyarn
^)The text was updated successfully, but these errors were encountered: