Marcelo Fabri
|
d44bf896b9
|
Avoid duplicating default value
|
2017-01-02 02:55:41 -02:00 |
|
Marcelo Fabri
|
ef8bc05b89
|
Update number_separator configuration in SwiftLint
|
2017-01-02 02:51:12 -02:00 |
|
Marcelo Fabri
|
09a251a8f6
|
number_separator can be configured with a min length
Fixes #1109
|
2017-01-02 02:50:04 -02:00 |
|
Marcelo Fabri
|
ca5914816f
|
Enable more opt-in rules in SwiftLint
|
2017-01-02 01:59:34 -02:00 |
|
Marcelo Fabri
|
f9a639715f
|
Fix out of range exception in AttributesRule
Fixes #1105
|
2017-01-01 17:54:31 -02:00 |
|
Marcelo Fabri
|
1a9d2ef7e6
|
Fix trailing_comma crash
Fixes #921
|
2017-01-01 01:14:19 -02:00 |
|
JP Simard
|
d9ca2d98b0
|
make successOrExit private
|
2016-12-30 19:23:29 -08:00 |
|
JP Simard
|
86308adf6b
|
refactor LintCommand
mostly by moving things out of run(_:) and out of the file
|
2016-12-30 18:43:51 -08:00 |
|
JP Simard
|
10f39b2562
|
Merge pull request #1098 from realm/jp-minor-improvements
Minor Improvements
|
2016-12-30 18:43:08 -08:00 |
|
Marcelo Fabri
|
edd85a9f97
|
Merge pull request #1095 from marcelofabri/set-inits
Avoid using Set(arrayLiteral:)
|
2016-12-31 00:26:37 -02:00 |
|
JP Simard
|
3106f32649
|
move autoreleasepool invocation into visitLintableFiles
which cleans up the call site a bit and brings the memory footprint
improvements to AutoCorrectCommand too.
|
2016-12-30 18:21:11 -08:00 |
|
JP Simard
|
da555b8a3b
|
minor spacing fixes
|
2016-12-30 18:21:11 -08:00 |
|
JP Simard
|
a50a0bee06
|
move array(of:) into other unconstrained Array extension
|
2016-12-30 18:21:11 -08:00 |
|
JP Simard
|
548e67e51e
|
use '<nopath>' instead of '<no path>'
|
2016-12-30 18:18:43 -08:00 |
|
JP Simard
|
1c1045c58f
|
add Benchmark and BenchmarkEntry structs
and generally improve the file/rule benchmarking code
|
2016-12-30 18:12:09 -08:00 |
|
Marcelo Fabri
|
5625b50f88
|
Avoid using Set(arrayLiteral:)
|
2016-12-30 23:54:25 -02:00 |
|
Marcelo Fabri
|
75c95607e6
|
PR feedback
|
2016-12-30 18:40:04 -02:00 |
|
Marcelo Fabri
|
8c1532691d
|
Make object_literal rule work with Swift 2.3
|
2016-12-30 17:57:30 -02:00 |
|
Marcelo Fabri
|
2362e396f4
|
Supporting NSColor and NSImage
|
2016-12-30 17:57:30 -02:00 |
|
Marcelo Fabri
|
7056434992
|
Add object_literal rule
Fixes #1060
|
2016-12-30 17:57:30 -02:00 |
|
JP Simard
|
836269dbf6
|
Merge branch 'master' into uppercase-enums-swift-2.3
|
2016-12-30 11:31:11 -08:00 |
|
JP Simard
|
5f4203ad37
|
remove unnecessary flatMap Int64 conversion introduced in #1092
|
2016-12-30 11:23:35 -08:00 |
|
Marcelo Fabri
|
07776cc0bb
|
Merge pull request #1092 from rakaramos/ignore-computed-delegates
Ignore computed delegates
|
2016-12-30 17:16:55 -02:00 |
|
JP Simard
|
f36e28e0a6
|
prefer 'joined()' over 'joined(separator: "")'
since that's the default separator.
Rule for this requested in #1093.
|
2016-12-30 10:30:03 -08:00 |
|
Rafael Machado
|
1056e7300f
|
Ignore computed delegates
|
2016-12-30 16:20:59 -02:00 |
|
Marcelo Fabri
|
1a91a3abe3
|
type_name rule validates enum values with Swift 2.3
Fixes #1090
|
2016-12-30 15:21:26 -02:00 |
|
Marcelo Fabri
|
6bd9bec6d7
|
PR feedback
|
2016-12-30 01:46:05 -02:00 |
|
Marcelo Fabri
|
d75cd234f7
|
Run tests with Swift 2.3 set for SourceKitten
This should help preventing issues like #1019.
|
2016-12-30 00:06:51 -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
|
55f7b04a6f
|
Fixing existing violations
|
2016-12-26 18:44:37 -02:00 |
|
Marcelo Fabri
|
570e627f9a
|
Sorted imports (#1071)
Add rule requiring imports be sorted
|
2016-12-26 18:28:43 -02:00 |
|
Marcelo Fabri
|
d6a15f7341
|
PR feedback
|
2016-12-26 13:34:50 -02:00 |
|
Marcelo Fabri
|
c43f808cfc
|
Re-enable ConfigurationTests.testExcludedPaths
|
2016-12-26 13:32:13 -02:00 |
|
Marcelo Fabri
|
635b809d8f
|
Re-enable testLeadingWhitespace
|
2016-12-26 13:32:13 -02:00 |
|
Marcelo Fabri
|
9d64a22426
|
Re-enable testVariableName and testTypeName on Linux
|
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
|
278f99fe3e
|
Make empty_parentheses_with_trailing_closure correctable
|
2016-12-24 22:31:09 -02:00 |
|
Marcelo Fabri
|
82d65c3daf
|
Merge pull request #1055 from marcelofabri/number_separator_rule_improvements
Number separator rule improvements
|
2016-12-24 20:03:14 -02:00 |
|
Marcelo Fabri
|
fb6066ce74
|
sign, not signal
|
2016-12-24 19:45:16 -02:00 |
|
Marcelo Fabri
|
79bcbf64c2
|
redundant_nil_coalescing rule is now correctable
|
2016-12-24 19:37:45 -02:00 |
|
Marcelo Fabri
|
8aa6ebd012
|
number_separator is now correctable
|
2016-12-24 19:36:34 -02:00 |
|
Marcelo Fabri
|
045e2cadcb
|
Fix false negative on number_separtor rule with negative numbers
|
2016-12-24 18:45:44 -02:00 |
|
Marcelo Fabri
|
5c39a76526
|
Add redundant_optional_initialization rule
Fixes #1052
|
2016-12-24 17:28:45 -02:00 |
|
JP Simard
|
8ce031ff5f
|
add substructure member to Dictionary+SwiftLint.swift
|
2016-12-23 12:35:01 -08:00 |
|
Marcelo Fabri
|
9253977bb3
|
Handle Optional<String>.Type false positive
|
2016-12-23 17:38:07 -02:00 |
|
Marcelo Fabri
|
0bd1647d1f
|
Handle Optional<T>.self false positive
|
2016-12-23 16:59:01 -02:00 |
|
Marcelo Fabri
|
a3b1e7f248
|
syntactic_sugar rule now doesn't flag declarations that can't be fixed
Fixes #928
|
2016-12-23 16:51:16 -02:00 |
|
Marcelo Fabri
|
49eabb7ee1
|
Merge pull request #1040 from marcelofabri/class-protocols-rule
Add class_delegate_protocol rule
|
2016-12-23 16:50:12 -02:00 |
|