Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove
no-extra-parens
autofix for potential directives (#17022)
* fix: Remove `no-extra-parens` autofix for potential directives * Update lib/rules/no-extra-parens.js Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com> * Elaborate JSDoc for `isFixable` * Update docs for `no-extra-parens` * Update lib/rules/no-extra-parens.js Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com> * One empty line is enough 😊 * Review updates * Check for top-level ExpressionStatement * Review updates * Revert changes in `quotes` rule --------- Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
- Loading branch information
Showing
7 changed files
with
152 additions
and
24 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
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
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
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