Commit Graph
11 Commits
Author SHA1 Message Date
Danny Mösch 1fa8e484c4 Add expiring TODO comments on deprecation warnings 2023-05-10 21:44:20 +02:00
JP Simard fa32fbc4f0 Minor edits to unhandled_throwing_task changelog entry
And rule description.
2023-05-10 14:04:42 -04:00
Kyle BashourandGitHub 8822d40687 Add unhandled_throwing_task rule (#4958)
This rule will check Task's that are not explicitly annotated with success and
failure types for unhandled try expressions. These trys will silently fail if an
error is thrown.

See this forum thread for more details:
https://forums.swift.org/t/task-initializer-with-throwing-closure-swallows-error/56066
2023-05-10 14:03:01 -04:00
Danny Mösch 6fd5f98d38 Add examples for weak variables to implicitly_unwrapped_optional rule 2023-05-06 22:46:25 +02:00
Danny Mösch bc18ff14e3 Add violation markers 2023-05-06 22:46:25 +02:00
Danny MöschandGitHub 7756793356 Add new option to attributes rule to influence it for attributes with arguments (#4855) 2023-05-05 16:12:01 -04:00
Danny MöschandGitHub f0138ea1df Add example to proof that shorthand optional bindings work with unused_declaration rule (#4857) 2023-05-05 15:22:59 -04:00
Danny MöschandGitHub 6a2e973de3 Add new redundant_self_in_closure rule (#4911) 2023-05-05 21:14:14 +02:00
JP SimardandGitHub 6b094dd711 [SwiftSyntax] Update to latest 509.0.0 tag (#4920)
* [bazel] Remove custom SwiftSyntax BUILD file

Something similar to this has been merged upstream instead now. This
also renames the repo name to SwiftSyntax in preparation for it being in
the BCR

* [SwiftSyntax] Update to latest 509.0.0 tag

https://github.com/apple/swift-syntax/releases/tag/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-04-25-b
2023-05-03 11:34:26 -04:00
Chris WhiteandGitHub 71b89e66de Prepend warning: to error messages (#4927) 2023-05-01 18:26:25 +02:00
JP SimardandGitHub a7bc9e20c7 Move built-in rules to new SwiftLintBuiltInRules module (#4950) 2023-04-27 11:16:01 -04:00