Commit Graph

6619 Commits

Author SHA1 Message Date
Danny Mösch dc791e1b69 Temporarily run builds as GitHub actions 2024-06-16 13:34:31 +02:00
Martin Redington 22ac525989 Remove deprecated path arguments 2024-06-16 10:11:19 +02:00
Danny Mösch b42f6ffe77 Keep initializers with attributed parameters in unneeded_synthesized_initializer rule (#5594) 2024-05-17 23:06:09 +02:00
Danny Mösch ebf7c708b7 Stop triggering mark rule in the middle of another comment (#5593) 2024-05-17 22:29:26 +02:00
Danny Mösch d7cf2fe631 Adapt and templatize test reference (#5589) 2024-05-16 20:55:52 +00:00
Danny Mösch 219f47cfaa Fix indentation 2024-05-16 21:55:32 +02:00
Danny Mösch 21bdaf0784 Add new changelog section 2024-05-16 21:43:52 +02:00
Danny Mösch b515723b16 Release 0.55.1 0.55.1 2024-05-16 21:42:01 +02:00
dependabot[bot] 2892e407a5 Bump rexml from 3.2.5 to 3.2.8 (#5588) 2024-05-16 21:23:00 +02:00
Danny Mösch 8bc8160416 Mark rule registry as sendable (#5587) 2024-05-16 21:21:24 +02:00
Danny Mösch de66fea453 Completely exclude the binary target from the Linux build (#5585) 2024-05-16 17:31:26 +00:00
Danny Mösch 161391de27 Treat conditional code as if it was always active (#5581) 2024-05-16 16:48:47 +00:00
Garric G. Nahapetian fe9763104d Move Xcode Run Script Build Phase note (#5584) 2024-05-16 07:42:40 +02:00
Danny Mösch 7957859f7e Use txt for swiftlint --help output to avoid odd coloring 2024-05-15 23:53:07 +02:00
Danny Mösch af14250508 Fix some markdownlint warnings 2024-05-15 23:50:37 +02:00
Danny Mösch 6499497a1b Update swiftlint --help output 2024-05-15 23:49:41 +02:00
Danny Mösch 03af3167fb Fix wording of static_over_final_class rule's violation message (#5583) 2024-05-15 21:42:47 +00:00
Garric G. Nahapetian 7ec2238364 Improve README.md (#5543)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
Co-authored-by: Christopher Fuller <christopher.fuller@gotinder.com>
2024-05-15 21:09:55 +00:00
Danny Mösch dfe19ac7fc Respect comments before opening braces in opening_brace rule (#5582) 2024-05-15 23:06:59 +02:00
Danny Mösch 3a3ec07952 Fix Bazel build when bzlmod is not in use (#5580) 2024-05-15 21:26:11 +02:00
Danny Mösch 40bee88132 Respect configuration in unneeded_override rule's rewriter (#5579) 2024-05-15 14:16:01 -04:00
Danny Mösch e84a6fc6b2 Silence unused_enumerated rule when $0 in a closure is explicitly unpacked (#5577) 2024-05-15 19:41:55 +02:00
Garric G. Nahapetian 919c10f211 Fix testSARIFReporter (#5572) 2024-05-13 19:50:00 +00:00
Danny Mösch b1d3e5c29b Create release and upload artifacts at once 2024-05-12 00:46:50 +02:00
Danny Mösch 6620d8a5da Capitalize release commit message 2024-05-12 00:29:49 +02:00
Danny Mösch 0e9db3a065 Revert "Create draft release and skip publishing steps temporarily"
This reverts commit 84710bd6ff.
2024-05-12 00:27:18 +02:00
Danny Mösch a04ecbd4d3 Add new changelog section 2024-05-11 23:09:36 +02:00
Danny Mösch 460d88c036 release 0.55.0 0.55.0 2024-05-11 23:09:19 +02:00
Danny Mösch 84710bd6ff Create draft release and skip publishing steps temporarily 2024-05-11 23:08:13 +02:00
Kyle 5c5390e47b Allow a SwiftSyntax version range (#5534) 2024-05-11 11:49:58 +00:00
Danny Mösch c29391a5ae Ignore but report invalid keys (#5567)
Don't fall back to the default configuration due to invalid keys.
2024-05-11 10:28:10 +00:00
Martin Redington b17bbaaebc Remove severity as a baseline key (#5566)
It interacts poorly with `--strict`.
2024-05-11 09:43:39 +02:00
Danny Mösch 0a2878d559 Update Bazel and SPM dependencies (#5563)
SourceKitten 0.35.0
Swift Argument Parser 1.3.1
SwiftSyntax 510.0.2
2024-05-09 10:21:53 +02:00
iulianOnofrei (U-lee-aan) 6834393712 Use Swift Argument Parser from version 1.2.1 (#5562) 2024-05-08 22:34:17 +02:00
Danny Mösch d734022778 Add package ACL (#5559) 2024-05-04 15:52:21 +02:00
Danny Mösch 4a72167b95 Check that a reference is not just extended 2024-05-03 22:26:21 +02:00
Danny Mösch 5f8fe00bf9 Pass an entity's parent to the traversal block as well 2024-05-03 22:26:21 +02:00
Danny Mösch 3258fc8089 Sort and categorize configuration (#5556) 2024-05-01 20:20:21 +00:00
Danny Mösch 11cbac63d1 Enable consider_default_literal_types_redundant option (#5555) 2024-05-01 19:58:42 +00:00
Danny Mösch 1658f1de70 Extract method for common code and make signatures swiftier (#5554) 2024-05-01 19:48:13 +00:00
Garric G. Nahapetian 16c0213027 Add option to redundant_type_annotation rule to consider default literal types redundant (#4756) 2024-05-01 21:15:35 +02:00
Chandler Wall 16cb4a02b1 Fix numeric version comparisons (#5526) 2024-05-01 20:51:01 +02:00
Martin Redington 96db41c379 Add an experimental baseline feature (#5475) 2024-05-01 16:55:33 +02:00
Danny Mösch 99a990d88f Disable deprecated rules (#5549) 2024-04-29 11:14:46 +00:00
Martin Redington 108b1fca7a Enable rules that currently have no violations (#5547) 2024-04-29 07:52:39 +02:00
Martin Redington 7623f1e730 Enable more rules in SwiftLint's own .swiftlint.yml (#5532) 2024-04-27 18:43:08 +02:00
Danny Mösch 5bbdf7f4e6 Allow to set configuration elements as deprecated (#5540)
Automatically print an appropriate warning to the console.
2024-04-25 19:37:04 +00:00
Diggory Laycock 04678a1d79 Fix plugin name (#5542) 2024-04-25 21:32:26 +02:00
Danny Mösch 1b7fbc4bcd Make postprocessors non-throwing (#5539)
Failing immediately when a property is invalid is too strict. It feels
sufficient to allow to report an issue but otherwise continue with a default
value instead of stopping execution completely.
2024-04-23 16:45:59 -04:00
Danny Mösch 3276266716 Respect nested types in redundant_type_annotation rule (#5537) 2024-04-21 19:15:01 +00:00