Enforce consistent indentation (indent
)
Warning
PLEASE READ THIS ISSUE BEFORE USING THIS RULE #1824
Rule Details
This rule extends the base eslint/indent
rule.
It adds support for TypeScript nodes.
How to Use
{
// note you must disable the base rule as it can report incorrect errors
"indent": "off",
"@typescript-eslint/indent": ["error"]
}
Options
Taken with โค๏ธ from ESLint core
Attributes
- โ Recommended
- ๐ง Fixable
- ๐ญ Requires type information