diff --git a/CHANGELOG.md b/CHANGELOG.md index 267af8e40..01b6a70ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,9 +32,10 @@ * Extend `empty_enum_arguments` rule to support `if case` and `guard case`. [Zsolt Kovács](https://github.com/lordzsolt) [#3103](https://github.com/realm/SwiftLint/issues/3103) + * Add `prefer_zero_over_explicit_init` opt-in rule to enforce using - `.zero` instead of calling constructor with zero arguments - (e.g. `CGPoint(x: 0, y: 0)`) when using CoreGraphics types. + `.zero` instead of calling constructor with zero arguments + (e.g. `CGPoint(x: 0, y: 0)`) when using CoreGraphics types. [Anton Nazarov](https://github.com/MortyMerr) [#3190](https://github.com/realm/SwiftLint/issues/3190)