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
Marcelo Fabri
7b1099a33d
Rewrite `prefixed_toplevel_constant` with SwiftSyntax ( #4425 )
2022-10-21 13:11:40 -07:00
Marcelo Fabri
cf0c7b7b21
Use default Equatable and Hashable implementations
2018-11-19 09:51:12 -08:00
Marcelo Fabri
1f121b1ef7
Enable static_operator opt-in rule in SwiftLint
2018-09-16 20:33:28 -07:00
JP Simard
dcc85fb0f3
Remove unused imports ( #2382 )
2018-09-02 14:09:04 -07:00
Keith Smiley
6eedf5d73c
Add private_only to prefixed_toplevel_constant ( #2315 )
...
* Add private_only to prefixed_toplevel_constant
This allows users to opt in to only validate top level constants have
the given prefix if the constant is private or fileprivate.
2018-07-24 12:38:01 -07:00