JP Simard
2eed8d469d
Apply Marcelo Fabri's patch
2018-05-06 10:33:33 -07:00
John Szumski
49916465ec
Prevent discouraged_optional_collection from uniquing values since nested collections will trigger multiple times at the start of the first collection.
2018-05-06 10:33:33 -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
Norio Nomura
2a0ac455bc
'flatMap' is deprecated: renamed to 'compactMap(_:)'
2018-04-08 13:28:09 +09:00
Ornithologist Coder
3e5f7c5523
Simplifies guard logic
2018-03-26 00:26:14 +02:00
Ornithologist Coder
61e79976d5
Renames method
2018-03-26 00:26:14 +02:00
Ornithologist Coder
15a521ae17
Adds mathematical intervals (w/ lower and upper bounds)
2018-03-26 00:26:14 +02:00
Ornithologist Coder
dcdd50a973
Fixes typo in documentation
2018-03-26 00:26:14 +02:00
Ornithologist Coder
ac149d296e
Adds examples to String extension
2018-03-26 00:26:14 +02:00
Ornithologist Coder
5c201149ad
Simplifies guard statements
2018-03-26 00:26:14 +02:00
Ornithologist Coder
53b0fff155
Adds more examples
2018-03-26 00:26:14 +02:00
Ornithologist Coder
16085d3ebb
Returns the Range of the entire optional collection
2018-03-26 00:26:14 +02:00
Ornithologist Coder
6056b3e734
Moves examples to own file
...
and adds more examples.
2018-03-26 00:26:14 +02:00
Ornithologist Coder
190a39aadc
Uses AST instead of regular expressions
2018-03-26 00:26:13 +02:00
Ornithologist Coder
86727aca5f
Adds extra example
2018-03-26 00:26:13 +02:00
Ornithologist Coder
6e1630e888
Improves regular expression
2018-03-26 00:26:13 +02:00
Ornithologist Coder
faee8c935b
Adds opt-in rule discouraged_optional_collection
2018-03-26 00:26:13 +02:00