Commit Graph

4234 Commits

Author SHA1 Message Date
Danny Mösch d78a766b47 Document only values set by users without processing them 2026-05-29 22:31:46 +02:00
Danny Mösch 6152d8273d Allow to replace default values (#6677) 2026-05-29 00:07:27 +02:00
Danny Mösch 951d03cf00 Silence prefer_self_in_static_references on generics lists in classes and extensions (#6676) 2026-05-28 23:50:38 +02:00
Danny Mösch 5525b43e37 Rename option to convey its purpose more clearly (#6673) 2026-05-27 17:20:56 -04:00
Danny Mösch 792032480e Support SwiftLint on Windows (#6636)
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
Co-authored-by: Roman Lavrov <roman.lavrov@thebrowser.company>
2026-05-27 22:02:06 +02:00
Danny Mösch 615a5499db Prepare 0.63.3 release 2026-05-26 21:11:58 +00:00
Danny Mösch 43ce7e2563 Fix explicit_self false positives around string interpolation (#6662)
Co-authored-by: Jeff Mark <jffmrk@users.noreply.github.com>
2026-05-25 04:53:00 -04:00
Rodion Ivashkov 6c55e0eaf0 Extend pattern_matching_keywords to support more cases (#6534)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-05-24 19:23:51 -04:00
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
theamodhshetty d4dc4663c4 Add tool name to JUnit testsuites and testsuite (#6512)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-05-19 12:38:05 -04:00
Danny Mösch 1dbc15a239 Support Swift version 6.4 (#6637) 2026-05-14 14:14:48 -04:00
theamodhshetty 98776e3662 Fix false positives for unused_enumerated with result member access (#6544)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-05-14 19:45:43 +02:00
Rodion Ivashkov 5a5888e588 Support Swift version 6.3.2 (#6635) 2026-05-13 08:11:32 +02:00
Danny Mösch 33430347e8 Support access level modifiers on imports in unused_imports (#6631)
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 03:06:56 -04:00
Danny Mösch 767d780c59 Taint variables in tuples (#6629) 2026-05-06 06:43:24 +02:00
Copilot a6198b7c17 Add support for Swift 6.3.1 (#6627)
Co-authored-by: SimplyDanny <16365760+SimplyDanny@users.noreply.github.com>
2026-05-03 13:13:52 +00:00
theamodhshetty ef026db5af Fix prefer_self_in_static_references for shadowed nested types (#6552)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-04-19 09:35:59 -04:00
Pavlo Tanaiev 9bc16b539b Fix indentation_width false positives for multi-line conditions (#6505)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-04-19 09:08:24 -04:00
Dimitri Dupuis-Latour 65f44a07e7 Add new legacy_uigraphics_function rule (#6269)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-04-15 21:26:36 -04:00
Danny Mösch f242859a0a Add new redundant_final rule (#6597)
Co-authored-by: William Laverty <wlaverty13@gmail.com>
2026-04-15 22:01:29 +02:00
Danny Mösch ceef663aaa Track type member declarations optionally (#6596) 2026-04-15 21:58:40 +02:00
Nadeem Ali 949cfe9889 Add new variable_shadowing rule (#6568)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-04-13 14:14:17 -04:00
Rodion Ivashkov a7878fcd67 Ignore case patterns in multiline_call_arguments (#6444)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-04-11 08:40:43 +02:00
theamodhshetty bd662b7009 Catch guard else spacing in statement_position rule (#6543) 2026-04-10 15:51:50 -04:00
Danny Mösch 26cc907ba8 Compare identifier declarations (#6589) 2026-04-10 00:38:46 +02:00
Eduard Miniakhmetov c40896d3ad Add new invisible_characters rule (#6424)
Co-authored-by: Miniakhmetov Eduard <eminiakhmetov@sportmasterlab.net>
2026-04-07 14:06:59 +02:00
Danny Mösch 0316649724 Base corrections on bytes to avoid range conversions (#6570) 2026-04-07 05:23:58 -04:00
Nadeem Ali 2b91a5a691 Add detection of leading-dot to optional_data_string_conversion rule (#6372)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-03-30 08:35:37 +00:00
Danny Mösch 99ec4923d8 Use effective ACL in discouraged_default_parameter rule (#6563) 2026-03-27 21:25:37 +01:00
Danny Mösch 29a71dd50d Track variables declared in tuples (#6565) 2026-03-27 19:44:12 +01:00
theamodhshetty 6dc566b7a5 Add underscore-prefixed option to unused_parameter rule (#6509) 2026-03-05 16:46:53 -05:00
William Laverty 87bfcc6832 Add disallow_default_parameter opt-in rule (#6506)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-03-05 16:22:21 -05:00
William Laverty afae448953 Skip @TestState variables in quick_discouraged_call rule (#6514) 2026-03-05 04:01:08 -05:00
theamodhshetty 15d7a3d9ef Add ignore_attributes option to implicit_optional_initialization (#6513) 2026-02-28 10:52:08 +00:00
Danny Mösch b4a04b6ed6 Support Swift version 6.2.4 (#6520) 2026-02-28 09:11:27 +00:00
Danny Mösch b0cd950a35 Keep file content when the file is virtual (#6519)
Virtual files are not stored on disk and can thus also not be read
from there again. Their content needs to stay in memory and be modified
right there.
2026-02-28 09:39:37 +01:00
Ahmad Alfy 21d66e5dc7 Add rules to SARIF exporter (#6502)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-02-23 05:08:49 -05:00
c 09f2fcaeb3 Skip force_unwrapping for calls with static string literal arguments (#6490)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2026-02-19 14:51:13 -05:00
Danny Mösch cc3b22c128 Open new scope only for trailing closures (#6492) 2026-02-13 17:32:27 +01:00
Danny Mösch f0c61bdb9d Check whether closure is in disabled region (#6474) 2026-01-31 23:04:05 +01:00
Danny Mösch 2f1e78c013 Shorten rule description (#6473) 2026-01-31 16:50:39 -05:00
Danny Mösch fba2bd9699 Visit infix operator expressions directly to reduce potential scope (#6472) 2026-01-31 22:40:29 +01:00
Danny Mösch 3c4fe314b3 Prepare 0.63.2 release 2026-01-26 19:12:08 +00:00
Declan McKenna d3220ed108 Add ignore_regex option to large_tuple rule (#6452) 2026-01-24 14:52:12 +00:00
Danny Mösch 987f3603ae Use start position of closure to check if rule is disabled (#6458) 2026-01-23 20:52:05 +01:00
Danny Mösch 335edded41 Inline dedicated rule test (#6459) 2026-01-23 14:25:19 -05:00
Danny Mösch 6de2cc9587 Use SwiftSyntax 6.4 pre-release 2026-01-20 (#6447) 2026-01-21 00:00:37 +01:00
Danny Mösch 71396cc146 Prepare 0.63.1 release 2026-01-15 19:47:12 +00:00
Danny Mösch 8978ae2ccb Add --disable-sourcekit flag to disable SourceKit (#6439) 2026-01-15 20:30:52 +01:00
Danny Mösch faa5859155 Introduce guarded filepath provider for file collection (#6435) 2026-01-14 18:06:13 -05:00