From 188ad69850653a913f70fea956a057318146b2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danny=20M=C3=B6sch?= Date: Sat, 2 Dec 2023 13:34:13 +0100 Subject: [PATCH] Fix and update changelog (#5370) --- CHANGELOG.md | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af0e2d626f..86dc4f1088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,11 +12,14 @@ * Rewrite the following rules with SwiftSyntax: * `identifier_name` + * `let_var_whitespace` + * `multiline_literal_brackets` * `opening_brace` * `void_return` - [SimplyDanny](https://github.com/SimplyDanny) - [kishikawakatsumi](https://github.com/kishikawakatsumi) + [SimplyDanny](https://github.com/SimplyDanny) + [kishikawakatsumi](https://github.com/kishikawakatsumi) + [Marcelo Fabri](https://github.com/marcelofabri) * Print invalid keys when configuration parsing fails. [SimplyDanny](https://github.com/SimplyDanny) @@ -28,15 +31,6 @@ [SimplyDanny](https://github.com/SimplyDanny) [#1762](https://github.com/realm/SwiftLint/pull/1762) -* Rewrite `multiline_literal_brackets` rule using SwiftSyntax, fixing some - false positives that would happen when comments are present. - [Marcelo Fabri](https://github.com/marcelofabri) - -* Rewrite `let_var_whitespace` rule using SwiftSyntax, fixing false positives - when attributes attached to declarations were spread over multiple lines. - [SimplyDanny](https://github.com/SimplyDanny) - [#4801](https://github.com/realm/SwiftLint/pull/4801) - * Add `affect_initializers` option to allow `unneeded_override` rule to affect initializers. [leonardosrodrigues0](https://github.com/leonardosrodrigues0) @@ -49,15 +43,26 @@ #### Bug Fixes +* Fix some false positives in `let_var_whitespace` rule that would happen + when attributes attached to declarations were spread over multiple lines. + [SimplyDanny](https://github.com/SimplyDanny) + [#4801](https://github.com/realm/SwiftLint/pull/4801) + +* Fix some false positives in `multiline_literal_brackets` rule that would + happen when comments are present. + [Marcelo Fabri](https://github.com/marcelofabri) + * Fix some false positives in the `opening_brace` rule. [kishikawakatsumi](https://github.com/kishikawakatsumi) - [#4610]https://github.com/realm/SwiftLint/issues/4610 - [#5114]https://github.com/realm/SwiftLint/issues/5114 - [#3470]https://github.com/realm/SwiftLint/issues/3470 - [#3574]https://github.com/realm/SwiftLint/issues/3574 - [#2632]https://github.com/realm/SwiftLint/issues/2632 - [#3476]https://github.com/realm/SwiftLint/issues/3476 - [#3756]https://github.com/realm/SwiftLint/issues/3756 + [SimplyDanny](https://github.com/SimplyDanny) + [#4610](https://github.com/realm/SwiftLint/issues/4610) + [#5114](https://github.com/realm/SwiftLint/issues/5114) + [#3470](https://github.com/realm/SwiftLint/issues/3470) + [#3574](https://github.com/realm/SwiftLint/issues/3574) + [#2632](https://github.com/realm/SwiftLint/issues/2632) + [#3476](https://github.com/realm/SwiftLint/issues/3476) + [#3756](https://github.com/realm/SwiftLint/issues/3756) + [#3690](https://github.com/realm/SwiftLint/issues/3690) * Ignore overridden functions with default parameters in the `unneeded_override` rule as they might change behavior.