This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite no-unused-expression and remove no-unused-new (#2269)
Integrate `no-unused-new` into this rule. [new-rule-option] `allow-new-side-effects` restores the old behaviour to allow `new` for side effects [bugfix] allow comma separated assignments Fixes: #2058 [bugfix] allow indirect eval: `(0, eval)("");` [enhancement] checking for unused new can now use option `allow-fast-null-checks` Fixes: #1839 [enhancement] find unused comma separated expressions in all locations of the code [enhancement] find unused expressions inside void expression
- Loading branch information
Showing
13 changed files
with
456 additions
and
358 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.