Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: add autofix to rule multiline-ternary (#13958)
* Update: Added auto-fix to multiline-ternary I noticed unfixed warnings from this ESLint rule and wanted to auto-fix them. While it may seem like doing `'\n? '` is opinionated, I did have changed to make this take a new option and either put the `?` on the previous line or next line. This is actually unnecessary because `operator-linebreak` handles it for you. * chore: fix linting * chore: review suggestions * Chore: review suggestions refs: https://github.com/eslint/eslint/pull/12982/files#r409035292 * Chore: add a test incluing comments * Chore: review suggestions * Chore: fixer.replaceTextRange() => removeRange() * chore: review suggestions * chore: fix typo Co-authored-by: Kevin Ghadyani <3948069+Sawtaytoes@users.noreply.github.com>
- Loading branch information
Showing with 134 additions and 6 deletions.
There are no files selected for viewing
Oops, something went wrong.