Commit Graph

11 Commits

Author SHA1 Message Date
Danny Mösch 67eb330f1c Add key to severity configuration as a hint for the correct YAML syntax 2023-01-08 15:05:43 +01:00
JP Simard 4bd7da32ea
Reduce visibility of rules to be `internal` (#4533)
There's no reason to expose these publicly and this will make it nicer
to move to a new module outside of the core SwiftLint functionality.
2022-11-09 11:01:26 -05:00
JP Simard f04e28cbf8
Rewrite `switch_case_alignment` with SwiftSyntax (#4373) 2022-10-14 10:06:54 +00:00
Marcelo Fabri cf0c7b7b21 Use default Equatable and Hashable implementations 2018-11-19 09:51:12 -08:00
freak4pc 4d3a1173b6
Apply correct severity form configuration 2018-05-06 23:34:14 +03:00
freak4pc d429ad4358
Get rid of duplicated RuleConfiguration and use reason instead 2018-05-06 23:34:14 +03:00
freak4pc 62d0dd14ca
Remove headers 2018-05-06 23:34:14 +03:00
freak4pc 7809ac731a
Add specific violation reason for `switch_case_alignment` based on configuration. 2018-05-06 23:34:14 +03:00
freak4pc 8e0202cfc8
Added violation marker and fixed tests 2018-05-06 23:34:14 +03:00
freak4pc 9cc41ac9cf
Switched to indented_cases bool style 2018-05-06 23:34:14 +03:00
freak4pc e8b64b4a72
Add `indentation` to SwitchCaseAlignmentRule 2018-05-06 23:34:13 +03:00