Skip to content

Commit

Permalink
better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkwaiblinger committed Apr 26, 2024
1 parent 822ec6c commit e24feeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/no-extra-boolean-cast.md
Expand Up @@ -89,7 +89,7 @@ var foo = bar ? !!baz : !!bat;

This rule has an object option:

* `"enforceForInnerOperands"` when set to `true`, in addition to checking default contexts, checks whether the extra boolean cast is contained within an expression to which a boolean context may evaluate. Default is `false`, meaning that this rule by default does not warn about extra booleans cast inside inner expressions.
* `"enforceForInnerOperands"` when set to `true`, in addition to checking default contexts, checks whether the extra boolean cast is contained within an expression which may be used in a boolean context. Default is `false`, meaning that this rule by default does not warn about extra booleans cast inside inner expressions.

**Deprecated:** The object property `enforceForLogicalOperands` is deprecated ([eslint#18222](https://github.com/eslint/eslint/pull/18222)). Please use `enforceForInnerOperands` instead.

Expand Down

0 comments on commit e24feeb

Please sign in to comment.