Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…11407) * add failing test case * Add specified test case from issue * Remove calculation for white spaces from formatComments and addParentheses, add condition to check for arrow expressions with block statements * Fix linting errors, ensure npm test runs without fail * Change new test case to check for prepended comment, add unIndent function to tests for implicit arrow linebreak * Add optional token type to arrow body * Add failing test case * Remove null return from autofixBesides, refactor body setting lines to use .body * Fix linting errors * Fix linting error in unIndent rule in implicit arrow linebreak test * Add another test case where nested arrow function contains block statement * Add constraint for block statement in add parentheses
- Loading branch information
1 parent
5d2083f
commit 29dbca7
Showing
2 changed files
with
226 additions
and
175 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.