Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensures consistent indentation. [Documentation](https://typescript-eslint.io/rules/indent) !! This has [known issues](typescript-eslint/typescript-eslint#1824), revert to ESLint's version if necessary. This rule ensures: ```js function foo() { if (bar) { console.log('baz'); } else { console.log('qux'); } } switch(a){ case "a": break; case "b": break; } ``` Instead of allowing: ```js function foo() { if (bar) { console.log('baz'); } else { console.log('qux'); } } switch(a){ case "a": break; case "b": break; } ```
- Loading branch information