Commit Graph

15 Commits

Author SHA1 Message Date
Danny Mösch 5eed8fe91b
Enable `if_let_shadowing` rule and fix all violations (#4247) 2023-01-31 22:31:38 +01:00
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 b938a4e07d
Convert `number_separator` rule to SwiftSyntax (#4333) 2022-10-09 21:03:57 -07:00
JP Simard 54a24638a2
Print minimum_fraction_length in description even when unset 2022-03-03 12:49:11 -05:00
Cihat Gündüz 3ab600f5a2 [number_separator] Add more non-triggering examples + Rename option to exclude_ranges 2019-02-14 21:19:15 +01:00
Cihat Gündüz 57fe9947a6 [number_separator] Add valid_ranges option instead of ignoring years by default 2019-02-14 21:19:15 +01:00
Marcelo Fabri cf0c7b7b21 Use default Equatable and Hashable implementations 2018-11-19 09:51:12 -08: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
Bjarke Hesthaven Søndergaard 4a9d354210 Fixes to comply with review 2017-01-16 20:38:29 +01:00
Bjarke Hesthaven Søndergaard ad749ac9f7 Add minimum_fraction_length configuration 2017-01-16 18:40:11 +01:00
JP Simard 9e7cdc3282
update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines 2017-01-09 19:19:25 -08:00
Marcelo Fabri 5282134fec Remove unnecessary import 2017-01-02 03:25:04 -02:00
Marcelo Fabri d44bf896b9 Avoid duplicating default value 2017-01-02 02:55:41 -02:00
Marcelo Fabri 09a251a8f6 number_separator can be configured with a min length
Fixes #1109
2017-01-02 02:50:04 -02:00