From 3ed25a7fd31f838a6a85e6724540100163985e49 Mon Sep 17 00:00:00 2001 From: Rakuyo Date: Sat, 15 Jun 2024 16:17:25 +0800 Subject: [PATCH] feat: Remove SwiftFormat `redundantNilInit` rule This rule has a bug now, it will be added later --- Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat b/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat index 1f683dd..5404b87 100644 --- a/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat +++ b/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat @@ -36,7 +36,6 @@ --computedvarattrs prev-line # wrapAttributes --storedvarattrs prev-line # wrapAttributes --complexattrs prev-line # wrapAttributes ---nilinit insert # redundantNilInit # We recommend a max width of 100 but _strictly enforce_ a max width of 130 --maxwidth 130 # wrap @@ -107,7 +106,6 @@ --rules redundantTypedThrows --rules consistentSwitchCaseSpacing --rules blankLineAfterSwitchCase ---rules redundantNilInit # Not released yet, will be used after release # --rules blankLineAfterMultilineSwitchCase