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
Danny Mösch
2e87be0398
Infer name of parent rule in configurations ( #6363 )
2025-12-01 14:15:00 -05:00
Danny Mösch
98cf87ab8d
Rename macros to something more descriptive ( #5686 )
2024-07-23 20:14:29 +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
8cb2cf9f85
Rewrite let_var_whitespace rule with SwiftSyntax ( #5367 )
2023-11-29 22:45:06 +01:00
Danny Mösch
0934c18cba
Let RuleConfigurations be equatable by default ( #5257 )
2023-10-03 18:05:31 +02:00
Danny Mösch
2433e7b5bf
Make use of macros to generate configuration parsing code ( #5250 )
2023-10-02 22:35:24 +02:00
Danny Mösch
ac81139942
Provide projectedValue to refer to option name ( #5098 )
2023-07-05 00:05:04 +02:00
Danny Mösch
678cd6f805
Introduce a model for rule configuration description ( #3931 )
2023-07-03 22:47:30 +02:00
Danny Mösch
3f039f26d5
Connect configs with their referencing rules to have some context in error logging ( #5017 )
...
With the binding of configurations to their associated rule types
"unknown configuration" errors can be made more specific mentioning
also the rule's identifier in the printed message.
2023-05-19 20:58:24 +02:00
Danny Mösch
d938b2d3c3
Specify default options in configurations only ( #5020 )
2023-05-18 17:21:30 +02:00
Danny Mösch
7fd22e0d6e
Use SeverityBasedRuleConfiguration where possible ( #5019 )
2023-05-18 16:04:20 +02:00
Danny Mösch
405113f793
Open ConfigurationError up to be used more broadly ( #5005 )
2023-05-14 20:00:46 +02:00
JP Simard
a7bc9e20c7
Move built-in rules to new SwiftLintBuiltInRules module ( #4950 )
2023-04-27 11:16:01 -04:00