Rafael Machado
|
8e5a63d1c0
|
Merge branch 'master' of github.com:realm/SwiftLint
|
2017-01-07 09:01:22 -02:00 |
|
JP Simard
|
9d697bf7a2
|
add .swiftlintVersion member to validKeys
|
2017-01-07 00:13:48 -08:00 |
|
JP Simard
|
6979d25733
|
allow specifying a swiftlint_version configuration key
which will log a warning if the current running version of SwiftLint
is different than this value.
|
2017-01-07 00:09:29 -08:00 |
|
JP Simard
|
a16e77c39e
|
fix swiftlint version with SPM
all done by @marcelofabri, originally in #1073
|
2017-01-07 00:09:27 -08:00 |
|
Marcelo Fabri
|
8a6b2d8570
|
Merge pull request #1123 from marcelofabri/shorthand_operator
Add shorthand_operator rule
|
2017-01-06 20:56:21 -02:00 |
|
Rafael Machado
|
068b903d1c
|
Merge branch 'master' of github.com:realm/SwiftLint
|
2017-01-06 19:53:25 -02:00 |
|
Marcelo Fabri
|
5d6c2ec3e7
|
Add shorthand_operator rule
Fixes #902
|
2017-01-06 18:02:02 -02:00 |
|
JP Simard
|
36b1ea0ba4
|
fix linting directories ending in .swift
|
2017-01-06 11:33:21 -08:00 |
|
rakaramos
|
da071774e0
|
Add UnusedOptionalBinding rule
|
2017-01-05 21:13:03 -02:00 |
|
Marcelo Fabri
|
dd59f4e9f9
|
Add generic_type_name rule
Fixes #51
|
2017-01-05 00:41:11 -02:00 |
|
Marcelo Fabri
|
c5db646115
|
Add large_tuple rule
Fixes #1065
|
2017-01-04 18:21:33 -02:00 |
|
Marcelo Fabri
|
66403ec5fa
|
Handle other protocols
|
2017-01-04 15:34:19 -02:00 |
|
Marcelo Fabri
|
c381720d3e
|
Add expressible_by_array_literal_init rule
Fixes #1096
|
2017-01-04 15:34:19 -02:00 |
|
JP Simard
|
cce3505f1b
|
pass function reference rather than create a small closure
|
2017-01-03 23:30:55 -08:00 |
|
JP Simard
|
6e994776df
|
use guard instead of nested if let
|
2017-01-03 23:17:28 -08:00 |
|
Marcelo Fabri
|
12a66d4fe1
|
Remove handleAlias function
|
2017-01-03 18:04:37 -02:00 |
|
Marcelo Fabri
|
3b682fb116
|
Remove support to non-deprecated aliases
|
2017-01-03 16:14:34 -02:00 |
|
Marcelo Fabri
|
3c9d16509b
|
Fix unit tests
|
2017-01-02 18:27:28 -02:00 |
|
JP Simard
|
4519f463d8
|
extract Linter.getStyleViolations' parallelFlatMap into Rule.performLint
|
2017-01-02 12:01:33 -08:00 |
|
Marcelo Fabri
|
d9eda655bf
|
PR feedback
|
2017-01-02 17:49:54 -02:00 |
|
Marcelo Fabri
|
f5569986a3
|
Only dispatching if there are identifiers
|
2017-01-02 16:26:16 -02:00 |
|
Marcelo Fabri
|
d9ae32bfd1
|
Use Set for aliases in RuleDescription init
|
2017-01-02 16:23:03 -02:00 |
|
Marcelo Fabri
|
c0aacd6adb
|
Log deprecation warns for commands
|
2017-01-02 16:23:03 -02:00 |
|
Marcelo Fabri
|
a5683fa393
|
PR feedback
|
2017-01-02 16:21:10 -02:00 |
|
Marcelo Fabri
|
2e8ada85b1
|
Logging deprecation warning and adding tests
|
2017-01-02 16:21:10 -02:00 |
|
Marcelo Fabri
|
07b14d852f
|
Handle duplicated alias configuration
|
2017-01-02 16:21:10 -02:00 |
|
Marcelo Fabri
|
2e9e016723
|
Running "disable" tests on all aliases
|
2017-01-02 16:21:10 -02:00 |
|
Marcelo Fabri
|
df8429d2eb
|
Add support for rule aliases
|
2017-01-02 16:21:10 -02:00 |
|
JP Simard
|
253e1f4f86
|
make recording benchmarks thread-safe
|
2016-12-31 17:24:43 -08:00 |
|
JP Simard
|
d82ca686d2
|
parallelize getting violations for a single file
|
2016-12-30 23:08:26 -08:00 |
|
Marcelo Fabri
|
7056434992
|
Add object_literal rule
Fixes #1060
|
2016-12-30 17:57:30 -02:00 |
|
Marcelo Fabri
|
aea1fd3538
|
Fix false positives on closure rules with Swift 2.3
Fixes #1019
|
2016-12-29 18:18:06 -02:00 |
|
Marcelo Fabri
|
570e627f9a
|
Sorted imports (#1071)
Add rule requiring imports be sorted
|
2016-12-26 18:28:43 -02:00 |
|
Marcelo Fabri
|
c43f808cfc
|
Re-enable ConfigurationTests.testExcludedPaths
|
2016-12-26 13:32:13 -02:00 |
|
JP Simard
|
27d1a49241
|
Merge pull request #1070 from marcelofabri/redundant_void_return
Add redundant_void_return rule
|
2016-12-25 22:57:25 -08:00 |
|
JP Simard
|
8fd337727b
|
improve wording when SourceKit fails
|
2016-12-25 22:52:19 -08:00 |
|
Marcelo Fabri
|
c6ac9b919c
|
Add redundant_void_return rule
Fixes #1066
|
2016-12-26 01:01:04 -02:00 |
|
Marcelo Fabri
|
5c39a76526
|
Add redundant_optional_initialization rule
Fixes #1052
|
2016-12-24 17:28:45 -02:00 |
|
Marcelo Fabri
|
608a2725c8
|
Add class_delegate_protocol rule
Fixes #1039
|
2016-12-23 02:37:44 -02:00 |
|
Marcelo Fabri
|
64a624ccf6
|
Add vertical_parameter_alignment rule
Fixes #1033
|
2016-12-22 21:21:23 -02:00 |
|
Marcelo Fabri
|
b18c98084c
|
Fix existing violations
|
2016-12-22 11:57:06 -02:00 |
|
Marcelo Fabri
|
56f6fcdd5d
|
Add first_where rule
Fixes #1005
|
2016-12-22 11:57:06 -02:00 |
|
Marcelo Fabri
|
367bbb84ff
|
Merge pull request #1010 from marcelofabri/120-is-better-than-100
Changing the default line length limit to 120
|
2016-12-22 00:00:27 -02:00 |
|
JP Simard
|
8858b3c484
|
sort imports in Location.swift
|
2016-12-21 13:26:55 -08:00 |
|
Jamie Edge
|
9c8939a9db
|
Resolve build issue by including missing import. Resolve line length violation.
|
2016-12-21 12:02:59 +00:00 |
|
Jamie Edge
|
b9afeba7fd
|
Switch to a relative path within the HTML report output.
|
2016-12-21 11:56:33 +00:00 |
|
Marcelo Fabri
|
5cccc12eb7
|
Style changes because of the 120 length limit
|
2016-12-20 12:10:11 -02:00 |
|
Marcelo Fabri
|
8102c59a53
|
Initial implementation of closure_end_indentation
|
2016-12-19 20:08:17 -02:00 |
|
Marcelo Fabri
|
6577b59cd7
|
Add unused_enumerated rule
|
2016-12-18 00:22:33 -02:00 |
|
Marcelo Fabri
|
3d7ce6ae8c
|
Add UnusedClosureParameterRule
|
2016-12-15 19:32:44 -02:00 |
|