forked from eslint/eslint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: enforceForLogicalOperands no-extra-boolean-cast (fixes eslint…
…#12137) (eslint#12734) * Working rule, updated documentation * New: Added enforceForLogicalOperands option to no-extra-boolean-cast (fixes eslint#12137) * Add default for schema option; renamed functions for clarity; pass fewer parameters to functions; check precedence in fixer * Removed extra variable from function; fixed function name; fixed precedence check; added additional example * Updated documentation * Removed outdated legacy code method * Added additional tests * Renamed function * Added additional test; updated documentation * Switched docs examples order; fixed comments in rule; added test for inserting space * Fixed accidentally edited lines
- Loading branch information
Showing
3 changed files
with
891 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.