githubEdit

Enforce consistent indentation (indent)

PLEASE READ THIS ISSUE BEFORE USING THIS RULE #1824arrow-up-right

Rule Details

This rule extends the base eslint/indentarrow-up-right 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

See eslint/indent optionsarrow-up-right.

Taken with ❤️ from ESLint corearrow-up-right

Last updated