Commit Graph

2082 Commits

Author SHA1 Message Date
Marcelo Fabri c698d021dc Initial cache implementation 2016-12-31 00:24:54 -02:00
JP Simard cbc360a612 Merge pull request #1097 from realm/jp-benchmark-structs
add Benchmark and BenchmarkEntry structs
2016-12-30 18:20:57 -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 10b20e3433 Merge pull request #1067 from marcelofabri/object_literals
Add object_literal rule
2016-12-30 19:34:31 -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 fefb6d8f4d Merge pull request #1091 from marcelofabri/uppercase-enums-swift-2.3
type_name rule validates enum values with Swift 2.3
2016-12-30 11:32:58 -08: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
Rafael Machado 37c31fc786 Fix CHANGELOG 2016-12-30 16:39:00 -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 e5563ef209 Update installation options on README (#1086)
Update installation options on README
2016-12-30 02:03:01 -02:00
Marcelo Fabri eb25fad75f Merge pull request #1087 from marcelofabri/swift2-tests
Run tests with Swift 2.3 set for SourceKitten
2016-12-30 02:02:14 -02:00
Marcelo Fabri 6bd9bec6d7 PR feedback 2016-12-30 01:46:05 -02:00
JP Simard a7dca5405e Merge pull request #1085 from marcelofabri/license
Fix adding LICENSE to portable_zip
2016-12-29 19:13:55 -08:00
Marcelo Fabri 3301c1c15a Invert tests order 2016-12-30 01:01:47 -02:00
Marcelo Fabri 9757442491 Moving Swift 2 tests to a single file 2016-12-30 00:44:22 -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 a85a6c0fbf Fix adding LICENSE to portable_zip
Fixes #1083
2016-12-29 21:49:16 -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 e2657a9392 Merge pull request #1072 from marcelofabri/enable_sorted_import
Enable sorted import
2016-12-26 21:35:00 -02:00
Marcelo Fabri 55f7b04a6f Fixing existing violations 2016-12-26 18:44:37 -02:00
Marcelo Fabri 6ca8b22c7e Enabling sorted_import on SwiftLint 2016-12-26 18:44:17 -02:00
Marcelo Fabri 570e627f9a Sorted imports (#1071)
Add rule requiring imports be sorted
2016-12-26 18:28:43 -02:00
Marcelo Fabri aecca7a48f Merge pull request #1069 from marcelofabri/name_tests_linux
Re-enable testVariableName and testTypeName on Linux
2016-12-26 14:20:53 -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 b4db77d780 Merge pull request #1057 from marcelofabri/correctable_empty_parentheses_with_trailing_closure
Make empty_parentheses_with_trailing_closure correctable
2016-12-24 22:52:09 -02:00
JP Simard 8630f19360 Merge pull request #1056 from realm/jp-osscheck
Implement OSSCheck on CI
2016-12-24 16:48:16 -08:00
Marcelo Fabri 278f99fe3e Make empty_parentheses_with_trailing_closure correctable 2016-12-24 22:31:09 -02:00
JP Simard d4b4b007b9 perform OSSCheck in Dangerfile 2016-12-24 15:11:16 -08:00
JP Simard 6a417360e4 run danger after success only 2016-12-24 15:11:16 -08:00
JP Simard 9dc0868bb5 Merge pull request #1036 from marcelofabri/initial-danger
Initial Danger integration
2016-12-24 14:56:32 -08:00
Marcelo Fabri 7c07b44016 Adding bundler folders to .gitignore 2016-12-24 20:34:20 -02:00
Marcelo Fabri 986dcb8457 PR feedback 2016-12-24 20:22:38 -02:00
Marcelo Fabri 08257f6e9e Installing bundler 2016-12-24 20:03:51 -02:00
Marcelo Fabri 00c5ba0e39 Initial Danger integration
Fixes #843
2016-12-24 20:03:51 -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 a5a14354bc Merge pull request #1054 from marcelofabri/correctable_redundant_nil_coalescing
redundant_nil_coalescing rule is now correctable
2016-12-24 19:57:26 -02:00