Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 863 Bytes

File metadata and controls

36 lines (24 loc) · 863 Bytes
description
Enforce consistent indentation.

🛑 This file is source code, not the primary documentation location! 🛑

See https://typescript-eslint.io/rules/indent for documentation.

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

See eslint/indent options.

Taken with ❤️ from ESLint core