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: report double extra parens in no-extra-parens (fixes eslint#1…
…2127) (eslint#12697) * Fix: report double extra parens in no-extra-parens (fixes eslint#12127) * rename function, add comments * review feedback * add more test cases * apply cond-assign-exception to test node only * add more checking for double parens * move unaryExpression and exponentiation check * change comments * rebase checkClass, add test case for regression * add invalid test case * add double parens check for for-of, sequence expression
- Loading branch information
Showing
2 changed files
with
211 additions
and
51 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
Oops, something went wrong.