Commit Graph

12 Commits

Author SHA1 Message Date
itsybitsybootsy a6c4fccb3f Surface violations of prefer_self_in_static_references inside extensions (#6639)
Co-authored-by: itsybitsybootsy <lammlu19>
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 12:45:45 -04:00
Danny Mösch f0c61bdb9d Check whether closure is in disabled region (#6474) 2026-01-31 23:04:05 +01:00
Danny Mösch 4065fc8437 Enable upcoming feature MemberImportVisibility (#6286) 2025-10-08 08:12:05 +02:00
André Pacheco Neves fe099492f2 Allow prefer_key_paths to ignore identity closures ({ $0 }) (#6068)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2025-08-15 00:30:10 +03:00
Danny Mösch 47335d7f95 Remove tracking of correction positions (#5950)
Report number of corrections per file instead.
2025-04-05 06:04:37 -04:00
Danny Mösch ff21ff796c Specify rule properties in attribute 2024-12-26 20:40:29 +01:00
Danny Mösch f13c54cf88 Replace identity expressions with \.self (#5871) 2024-12-01 19:30:29 +01:00
Danny Mösch b22c2b5c4c Treat compactMap as standard function (#5876) 2024-11-29 22:52:37 +00:00
Danny Mösch c8a9065428 Silence prefer_key_path rule on macro expansion expressions (#5765) 2024-08-21 17:07:39 +00:00
Danny Mösch 1d26f4c0ef Let descriptions be immutable (#5729) 2024-08-05 17:09:50 -04:00
Danny Mösch 87bc82e7b5 Restrict prefer_key_path to standard functions and function arguments (#5722)
By default, the rule triggers on and corrects closures used in functions
it "knows". With the option extending the rule, it now also triggers on
closures used in "safe" contexts, where "safe" means that a correction
would not lead to uncompilable code (ideally).
2024-08-03 15:01:40 +00:00
Danny Mösch a657438caf Add new prefer_key_path rule (#5548) 2024-08-02 22:05:28 +00:00