Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: make minor improvements to
indent
internals (#8947)
* Get rid of an `if` statement whose condition was always true. (With this change, the `indent` rule now has 100% branch coverage.) * Remove the `matchIndentOf` helper in favor of using `setDesiredOffset` with an offset of 0. * Fix outdated or misleading comments * Move some function declarations into methods on the listeners object when possible
- Loading branch information
1 parent
1ea3723
commit a747b6f
Showing
1 changed file
with
57 additions
and
100 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