Open
Description
Describe the bug
Apparently the indent
rule in ESLint doesn't play well with decorated properties in TypeScript: they are indented with 4 spaces, e.g. here.
This doesn't cause any real problems but is a bit of an eyesore.
There is a potential workaround, but it disables indentation checks for all properties and won't be auto-fixable.
The ESLint rule itself is deprecated though (because it's a style rule and not a lint rule). They suggest to use this rule instead.
Expected behavior
Decorated properties should be indented with 2 spaces just like any other properties.
Related work
#2343
Metadata
Metadata
Assignees
Type
Projects
Status
🙋 Needs Help / Unscheduled