Danny Mösch
a24488f26e
Release 0.56.2
2024-08-22 13:20:18 +02: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
f3bdd27626
Silence unneeded_override rule on methods and initializers with attributes ( #5764 )
2024-08-21 18:56:51 +02:00
Danny Mösch
9d0711070d
Trigger on empty closure blocks in no_empty_block rule ( #5763 )
2024-08-20 22:28:30 +02:00
Danny Mösch
74f4778070
Align left brace of additional trailing closures with right brace of previous trailing closure ( #5761 )
2024-08-19 17:26:48 -04:00
Danny Mösch
d5f7f9c29a
Align left closure brace with associated parent function call ( #5760 )
2024-08-19 20:19:57 +00:00
Danny Mösch
314c91f426
Check all nested if expressions in contrasted_opening_brace rule ( #5759 )
2024-08-19 15:42:10 -04:00
Danny Mösch
21b1a03e2b
Ignore initializers with attributes in unneeded_synthesized_initializer rule ( #5758 )
2024-08-19 20:56:32 +02:00
Danny Mösch
cffb331009
Fix spurious Bazel build errors ( #5756 )
2024-08-18 20:53:57 +00:00
Danny Mösch
586dd54db4
Release 0.56.1
2024-08-07 01:09:36 +02:00
Danny Mösch
248ffafd83
Make contrasted_opening_brace opt-in
2024-08-07 01:02:45 +02:00
Danny Mösch
3ed1391e1d
Release 0.56.0
2024-08-06 22:37:33 +02:00
Danny Mösch
78b665d536
Unroll parsing code to make Version a struct ( #5730 )
2024-08-05 21:48:50 +00:00
Danny Mösch
1d26f4c0ef
Let descriptions be immutable ( #5729 )
2024-08-05 17:09:50 -04:00
Danny Mösch
b67e82a832
Extract new contrasted_opening_brace rule from opening_brace rule ( #5723 )
2024-08-03 18:03:41 +02: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
88191fe58e
Enable prefer_key_path rule and fix all violations ( #5721 )
2024-08-03 14:21:47 +02:00
Danny Mösch
a657438caf
Add new prefer_key_path rule ( #5548 )
2024-08-02 22:05:28 +00:00
wanxiangchwng
9309f17825
Fix some typos ( #5719 )
...
Signed-off-by: wanxiangchwng <cui.shuang@foxmail.com >
2024-08-01 19:14:16 +02:00
Danny Mösch
75d3a87e96
Treat specialized imports with attributes as unique ( #5718 )
2024-07-31 23:01:39 +02:00
UIApplicationMain
5f804d005b
Remove extra case statement in example ( #5717 )
2024-07-31 18:40:21 +02:00
Danny Mösch
e44bf9adb6
Add new brace_on_new_line option to opening_brace rule ( #5708 )
2024-07-30 22:23:01 +02:00
Martin Redington
103e585b56
Make sure that violations of the typesafe_array_init rule are correctly reported as violations of that rule rather than array_init ( #5710 )
2024-07-28 19:05:03 +01:00
Danny Mösch
39b7c9f134
Move and refactor methods ( #5706 )
2024-07-27 16:24:32 +00:00
Danny Mösch
d28901e27e
Remove deprecated option --in-process-sourcekit entirely ( #5707 )
2024-07-27 16:05:14 +00:00
Danny Mösch
f72666ec77
Fix some issue in SARIF reporter ( #5705 )
2024-07-26 13:43:57 -04:00
Danny Mösch
4b9c15969d
Remove unused conformance ( #5704 )
2024-07-25 16:43:57 -04:00
LamTrinh.Dev
03b28d5ece
Fix typo ( #5691 )
2024-07-24 18:31:29 +00:00
Martin Redington
6ee4623565
Fix deprecation warnings ( #5695 )
2024-07-24 19:30:36 +02:00
Danny Mösch
98cf87ab8d
Rename macros to something more descriptive ( #5686 )
2024-07-23 20:14:29 +02:00
Koichiro Ueki
b9f38435de
Make no_empty_block rule opt-in and add configurations ( #5685 )
2024-07-22 18:34:20 +02:00
Danny Mösch
d46bfcd657
Fix some typos ( #5688 )
2024-07-21 21:20:45 +00:00
Danny Mösch
a14c4a994e
Improve test coverage slightly ( #5687 )
2024-07-21 20:47:34 +00:00
Danny Mösch
2cc1acb683
Check at the violation position if a correction can be applied ( #5682 )
2024-07-20 23:22:54 +02:00
Danny Mösch
b63807de6d
Fail in debug builds if a rule produces corrections while not being correctable ( #5684 )
2024-07-20 19:11:55 +02:00
Hayashi Tatsuya
cb0f5ab007
Verify and document fixed opening_brace correction ( #5620 )
...
Co-authored-by: Danny Mösch <danny.moesch@icloud.com >
2024-07-20 11:36:24 -04:00
Danny Mösch
9f8a3f5662
Fix some typos ( #5683 )
2024-07-20 11:22:32 -04:00
Danny Mösch
238415b4f7
Place corrections optionally into violations ( #5680 )
...
This avoids maintaining two lists of objects.
2024-07-20 16:24:17 +02:00
Martin Redington
3421f5f46d
Enable multiline_parameters rule, and fix all cases ( #5664 )
2024-07-18 01:48:02 +01:00
Danny Mösch
2442e10f13
Avoid needless indentation in examples ( #5675 )
2024-07-16 13:57:05 -04:00
Martin Redington
b1234e38a5
Add --only-rule command line option ( #5666 )
2024-07-15 23:52:52 +01:00
Danny Mösch
cc4b569c54
Enable unused_parameter rule and fix all violations ( #5673 )
2024-07-14 11:20:50 -04:00
Danny Mösch
67b1aaa211
Trigger missing_docs rule on declaration-introducing keyword ( #5671 )
2024-07-14 05:38:16 -04:00
Danny Mösch
e48bdb7adf
Add new unused_parameter rule ( #5668 )
2024-07-14 05:31:29 -04:00
Martin Redington
21b7e5ed6b
Enabled prefer_self_in_static_references, and fixed all current violations ( #5662 )
2024-07-10 18:58:27 +01:00
Martin Redington
c6a7dd2ecd
Fix implicit return rewriting ( #5661 )
2024-07-10 13:24:09 +01:00
Martin Redington
ed10aec5f8
Enable implicit_return and fix all violations ( #5658 )
2024-07-10 12:15:19 +01:00
Martin Redington
f41c45667b
Enable the closure_body_length and multiline_literal_brackets rules ( #5654 )
2024-07-07 14:00:43 -04:00
Danny Mösch
714bf4c8c2
Document modified configurations used to lint examples ( #5402 )
2024-07-07 13:11:41 +02:00
Martin Redington
e0b9295412
Add update checker ( #5613 )
2024-07-06 19:32:36 -04:00