Skip to content

Commit 08809dc

Browse files
committed
Add changelog entry
1 parent 570dcf3 commit 08809dc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212

1313
### Enhancements
1414

15+
* Extend `redundant_self_in_closure` rule to detect all redundant uses of `self`,
16+
not just in closures. Initializers (which commonly prefer an explicit `self` prefix)
17+
can be ignored by setting `ignore_initializers` to `true`. The rule has been renamed
18+
to `redundant_self` (with `redundant_self_in_closure` as a deprecated alias) to reflect
19+
its now broader scope.
20+
[SimplyDanny](https://github.com/SimplyDanny)
21+
1522
* Add a `separation` configuration option to the `vertical_whitespace_between_cases` rule
1623
to allow customizing blank line separation between switch cases. The default value is
1724
`always` (require at least one blank line). Setting it to `never` enforces no blank

0 commit comments

Comments
 (0)