Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: improve coverage in lib/*.js (#9130)
* Chore: remove dead code path in ast-utils This was checking to see if a function is the left child of an AssignmentExpression, which isn't possible. * Chore: fix incorrect test in cli.js This test was intended to verify that --print-config was disallowed with --stdin. However, the test didn't have an argument with --print-config, so the command failed option validation and never made it to the logic that it was supposed to test. * Chore: avoid dead code branches in config logic * Chore: Remove dead code in ignored-paths.js * Chore: remove dead code path for environments * Chore: Add istanbul ignore comment for sanity check error * Chore: remove dead code from getRuleSeverity * Chore: improve coverage of linter.markVariableAsUsed * Chore: remove dead code branch in parserOptions handling * Chore: improve coverage of linter.verifyAndFix * Chore: improve coverage of RuleContext fix merging
- Loading branch information
1 parent
ff8c4bb
commit 60c5148
Showing
8 changed files
with
99 additions
and
57 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
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