Skip to content

Commit

Permalink
Change ignoredNodes description
Browse files Browse the repository at this point in the history
  • Loading branch information
srknzl committed Mar 8, 2021
1 parent 2001a22 commit 0c77179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/indent.md
Expand Up @@ -68,7 +68,7 @@ if (a) {

This rule has an object option:

* `"ignoredNodes"` can be used to disable checking for any option below by using an array of [selectors](/docs/developer-guide/selectors.md). If an AST node is matched by any of the selectors, the indentation of tokens which are direct children of that node will be ignored.
* `"ignoredNodes"` can be used to disable indentation checking for any AST node. This accepts an array of [selectors](/docs/developer-guide/selectors.md). If an AST node is matched by any of the selectors, the indentation of tokens which are direct children of that node will be ignored.
* `"SwitchCase"` (default: 0) enforces indentation level for `case` clauses in `switch` statements
* `"VariableDeclarator"` (default: 1) enforces indentation level for `var` declarators; can also take an object to define separate rules for `var`, `let` and `const` declarations. It can also be `"first"`, indicating all the declarators should be aligned with the first declarator.
* `"outerIIFEBody"` (default: 1) enforces indentation level for file-level IIFEs. This can also be set to `"off"` to disable checking for file-level IIFEs.
Expand Down

0 comments on commit 0c77179

Please sign in to comment.