Fix `fmt: skip` skipping the line after instead of the line it's on (#4855)
* Fix `fmt: skip` skipping the line after instead of the line it's on (#3364, #4366) Signed-off-by:cobalt <61329810+cobaltt7@users.noreply.github.com> * Apply suggestion from @cobaltt7 * Add tests Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * Fix error on preview when only the closing bracket was ignored Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * Fix merge conflict Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * If i fully gate it under fix_fmt_skip_in_one_liners it works Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix should-be final issues Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> --------- Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Loading
Please register or sign in to comment