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
46ed5e2ece
Add print statement for deprecation
...
To indicate that `statement_level` has been renamed to `function_level`.
2020-11-09 12:06:45 -05:00
JP Simard
aa02a8aec0
Apply small refactorings
2020-11-09 12:06:44 -05:00
Skoti
b9841595a5
Separated nesting level counting for types and functions in `nesting` rule ( fixes #1151 ). Enhanced `nesting` rule to search for nested types and functions within closures and statements. Enhanced `nesting` rule to allow for one nested type within a function even if breaking a maximum type level nesting ( fixes #1151 ).
2020-11-09 12:06:34 -05: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
JP Simard
b83e0991b9
Remove all file headers
...
The MIT license doesn't require that all files be prepended with this
licensing or copyright information. Realm confirmed that they're ok with this
change. This will enable some companies to contribute to SwiftLint and the
date & authorship information will remain accessible via git source control.
2018-05-04 13:42:02 -07:00
JP Simard
0c0952046c
ensure deterministic consoleDescription & cacheDescription generation
2017-05-19 09:25:53 -07:00
t_hayashi
6872018862
Add configuration for NestingRule
2017-03-04 01:14:30 +09:00