JP Simard
c5de0f481f
Refactor LineLengthConfiguration.apply(configuration:)
...
to avoid high cyclomatic complexity
2018-05-06 10:54:46 -07:00
Michael Gray
ac9b5348e1
Added "ignores_interpolated_strings" option to line_length (default value is false)
2018-05-06 10:41:15 -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
a10156b5eb
update LineLengthConfiguration.consoleDescription after #1264
2017-02-09 14:42:10 -08:00
JP Simard
69f885cf08
small refactoring after #1264
2017-02-09 14:42:09 -08:00
Marcelo Fabri
2300ae3daf
Small style changes
2017-02-06 21:59:30 -02:00
Michael Welles
15a7a88297
Modified so that kinds(forByteOffset:) does not require a separate
...
filter() setup of the results
2017-02-06 15:58:45 -05:00
Michael Welles
c9ff0aa07f
Changes from PR feedback. Long comments following code in a line will now trigger, configuration will now fail if invalud value types are set for options
2017-02-06 15:33:44 -05:00
Michael Welles
ccc840b340
Changed LineLengthConfigurationFlag enum to be an OptionSet struct, per pull request feedback
2017-01-31 13:56:26 -05:00
Michael Welles
cd843e7fcd
Added "ignores_comments" and "ignores_function_declarations" as boolean options to LineLengthRule
2017-01-30 17:51:56 -05:00
JP Simard
9e7cdc3282
update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines
2017-01-09 19:19:25 -08:00
Javier Hernández
cf2c7ced39
Move method to strip urls to String extension
2017-01-06 01:05:54 +01:00
Javier Hernández
ed42d9b38e
Add line length configuration to ignore urls
2017-01-06 01:05:54 +01:00