Commit Graph

2749 Commits

Author SHA1 Message Date
Javier Hernández d652cfe4ab Add options to generic_type_name and type_name rules 2017-05-10 21:02:30 +01:00
Javier Hernández 9d31eaccda Rename option to validates_start_lowercase 2017-05-10 20:53:44 +01:00
Javier Hernández 3245fd83a9 Fix tests 2017-05-10 20:53:44 +01:00
Javier Hernández b2ecffb024 Add changes to CHANGELOG.md 2017-05-10 20:53:44 +01:00
Javier Hernández fe916c121f Add option to allow names to start with uppercase 2017-05-10 20:53:44 +01:00
Javier Hernández 93583f3153 Add option to exclude non alphanumeric characters 2017-05-10 20:53:42 +01:00
JP Simard b6f9a85d17 Merge pull request #1500 from realm/revert-1494-jp-osscheck-merge
Revert "Merge master before running OSSCheck on branch"
2017-05-07 22:28:05 -07:00
JP Simard ae54fb7f2c Revert "Merge master before running OSSCheck on branch" 2017-05-07 22:27:48 -07:00
Marcelo Fabri db66e74ccd Merge pull request #1499 from marcelofabri/complexityConfigTypo
Fix `ignores_case_statements` key in `cyclomatic_complexity` description
2017-05-07 17:11:50 +02:00
Jeffrey Blagdon 2e3130048f Fix ignores_case_statements key in cyclomatic_complexity description
Fixes #1434.
2017-05-07 17:10:21 +02:00
Marcelo Fabri 6805c4a1e0 Merge pull request #1480 from marcelofabri/unused_optional_binding_rule_ignore_option
Unused optional binding rule ignore option
2017-05-07 17:03:15 +02:00
JP Simard fe4a199657 Merge pull request #1494 from realm/jp-osscheck-merge
Merge master before running OSSCheck on branch
2017-05-04 15:20:54 -07:00
JP Simard b65a40c982 merge master before running OSSCheck on branch 2017-05-04 14:39:05 -07:00
Marcelo Fabri bd3fe6392d Merge pull request #1493 from marcelofabri/file-header-extra-parentheses
Remove extra parenthesis on file header rule description
2017-05-04 21:39:19 +02:00
Marcelo Fabri 2282362989 Remove extra parenthesis on file header rule description 2017-05-04 21:37:34 +02:00
Marcelo Fabri 892407733f Merge pull request #1482 from marcelofabri/bugfix-1334
Prevent triggering `redundant_optional_initialization` rule  on a `lazy` var
2017-05-02 00:37:57 +02:00
Marcelo Fabri 9412861143 Prevent triggering redundant_optional_initialization rule on a lazy var
Fixes #1334
2017-05-02 00:15:44 +02:00
Marcelo Fabri 32d5266409 Small rule improvements 2017-05-01 16:11:12 +02:00
Marcelo Fabri b41fe11dbc Fixes after rebase 2017-05-01 15:34:38 +02:00
Сергей Галездинов b3ae42811c fix test failure 2017-05-01 14:59:00 +02:00
Сергей Галездинов fa093a9a69 move changelog item down 2017-05-01 14:59:00 +02:00
Сергей Галездинов 5b52f970d9 add changelog entry 2017-05-01 14:59:00 +02:00
Сергей Галездинов a22eb40524 tests with a new option 2017-05-01 14:59:00 +02:00
Сергей Галездинов 894416a1a1 filter optional try's from matches when ignore_optional_try is true 2017-05-01 14:59:00 +02:00
Сергей Галездинов 74e77e82bb Additional configuration for UnusedOptionalBindingRule 2017-05-01 14:59:00 +02:00
Marcelo Fabri 43afb18609 Merge pull request #1477 from marcelofabri/implicit_return
Add implicit_return rule
2017-05-01 01:32:02 +02:00
Marcelo Fabri d356522491 Add implicit_return rule
Fixes #1194
2017-05-01 00:58:58 +02:00
JP Simard a841508c0b Merge pull request #1476 from marcelofabri/top-acl
Add explicit_top_level_acl opt-in rule
2017-04-30 12:26:13 -07:00
Marcelo Fabri 4a9ba8248f Fix build with Swift 3.0.x 2017-04-30 20:42:09 +02:00
Marcelo Fabri 74b7744de6 Alternative implementation 2017-04-30 20:17:41 +02:00
JP Simard efdc31d33a Merge pull request #1474 from marcelofabri/bugfix-1460
Fix `empty_parameters` rule with Swift 3
2017-04-30 09:54:16 -07:00
Marcelo Fabri 42e6c8a06c Fix empty_parameters rule with Swift 3
Fixes #1460
2017-04-30 17:27:51 +02:00
J Cheyo Jimenez d608a632fd replace NSNumber with Int64 to fix Linux boxes 2017-04-29 21:36:56 -07:00
J Cheyo Jimenez 06b1446ae7 Fix violations starting at zero index 2017-04-29 19:21:49 -07:00
J Cheyo Jimenez 1ce589ee82 Added ExplicitInternalTopLevelRule 2017-04-29 18:51:45 -07:00
JP Simard 5673b3fb5e Merge pull request #1455 from marcelofabri/remove-swift-2-support
Remove Swift 2 support
2017-04-25 15:53:30 -07:00
JP Simard bfb5ba6e5e Merge pull request #1467 from ultimatedbz/jc/report-violations-consistently
Improve user experience in reporting violations
2017-04-25 14:17:52 -07:00
Jeffrey b837f07f48 Update Changelog ultimatedbz 2017-04-25 14:12:31 -07:00
Jeffrey 4e09c05877 Merge branch 'jc/report-violations-consistently' of https://github.com/ultimatedbz/SwiftLint into jc/report-violations-consistently 2017-04-25 14:11:13 -07:00
Jeffrey bc76bd1745 Edit Changelog ultimatedbz 2017-04-25 14:04:36 -07:00
Jeffrey 38f5e51f4c Edit Changelog ultimatedbz 2017-04-25 13:56:57 -07:00
Jeffrey 3812ef3612 change parameter.value to configuration.warning 2017-04-25 13:46:44 -07:00
Jeffrey a37445d068 Revert "We should be using parameter.value instead of configuration.warning in order to report accurate information about the violation."
This reverts commit c4006276a3.
2017-04-25 13:39:12 -07:00
Marcelo Fabri def9a84e80 Update CHANGELOG.md 2017-04-25 13:40:49 +02:00
Marcelo Fabri db08b58f38 Merge pull request #1463 from ultimatedbz/jc-report-use-parameter-value
Fix inaccurate violation report in fileLengthRule and FunctionParameterCountRule
2017-04-25 13:39:47 +02:00
Jeffrey 67dc8ad502 Add ultimatedbz to Changelog 2017-04-24 19:08:20 -07:00
Jeffrey c4006276a3 We should be using parameter.value instead of configuration.warning in order to report accurate information about the violation. 2017-04-24 18:28:40 -07:00
JP Simard 6d7ba78f53 move changelog entry to "Bug Fixes" 2017-04-24 14:41:09 -07:00
JP Simard bd533d09e3 Merge pull request #1462 from SpencerKaiser/skaiser-typo
Fixing a minor typo
2017-04-24 14:39:55 -07:00
Spencer Kaiser acea43409f Fixing a minor typo 2017-04-24 15:41:11 -05:00