Commit Graph

4094 Commits

Author SHA1 Message Date
JP Simard 3961d6482b Organize rules by kind in Xcode project (#2341) 2018-08-05 18:54:05 -07:00
JP Simard 93eb889495 Update dependencies 2018-08-05 11:17:35 -07:00
JP Simard ea8ef1435e Prevent changing the value of Lazy.value
this should only be set by running `computation()`
2018-08-05 11:17:35 -07:00
Marcelo Fabri a2b7b702dc Merge pull request #2337 from marcelofabri/improve-line-length-performance
Improve line_length rule performance
2018-08-05 00:32:43 -07:00
Marcelo Fabri 12aaa29e2c Merge pull request #2338 from marcelofabri/empty_parentheses_with_trailing_closure-swift4.2
Improve empty_parentheses_with_trailing_closure performance on Swift 4.2
2018-08-05 00:32:17 -07:00
Marcelo Fabri 07ec15679a Improve empty_parentheses_with_trailing_closure performance on Swift 4.2 2018-08-04 23:46:19 -07:00
Marcelo Fabri 32deab0112 Merge pull request #2336 from marcelofabri/multiple_closures_with_trailing_closure-closure
Use closure expression from SourceKit on multiple_closures_with_trailing_closure
2018-08-04 23:45:33 -07:00
Marcelo Fabri cd34f8bf9f Improve line_length rule performance
Don’t calculate swiftDeclarationKindsByLine and syntaxKindsByLine if it’s not needed:

- When there are no lines that would trigger a violation
- When no configuration parameter that needs that information is set (e.g. the default configuration)
2018-08-04 23:23:34 -07:00
Marcelo Fabri 1f2a84fa2b Use closure expression from SourceKit on multiple_closures_with_trailing_closure 2018-08-04 22:38:44 -07:00
Marcelo Fabri e03e7b60be Merge pull request #2334 from marcelofabri/git-status-clean-releasing
Check if git status is clean before releasing
2018-08-04 15:21:09 -07:00
Marcelo Fabri e0adb6e5f3 Check if git status is clean before releasing
Fixes #2327
2018-08-04 15:04:03 -07:00
JP Simard d1ec7385b7 Apply minor readme formatting fixes 2018-08-04 11:09:32 -07:00
Marcelo Fabri 455d65cffc Fix duplicated entry in project.pbxproj 2018-08-03 21:25:46 -07:00
Marcelo Fabri f8bdcc95c4 Merge pull request #2333 from marcelofabri/xcode-10-ci
Add xcode_10 job to Circle CI
2018-08-03 21:24:33 -07:00
Marcelo Fabri 2b8954941b Add xcode_10 job to Circle CI
Fixes #2332
2018-08-03 21:09:57 -07:00
Keith Smiley 531131db9d Fix CHANGELOG option name (#2328) 2018-08-01 13:45:27 -07:00
Marcelo Fabri 71a7536aa3 Add empty changelog section 2018-08-01 09:24:49 -07:00
Marcelo Fabri cfee95d144 Revert unwanted change on project.pbxproj 2018-08-01 09:09:45 -07:00
Marcelo Fabri 12996ef1f5 release 0.27.0 0.27.0 2018-07-31 09:28:44 -07:00
Marcelo Fabri 7425be00f9 Update CHANGELOG.md 2018-07-31 09:27:23 -07:00
Keith Smiley 0cfe90cc7f Add missing CHANGELOG URL 2018-07-30 09:00:49 -07:00
JP Simard 8dfdc0fca2 Allow links to PRs instead of issues 2018-07-30 09:00:27 -07:00
Marcelo Fabri 88f4c8be6f Minor changes after merging #2318 2018-07-30 00:12:02 -07:00
Marcelo Fabri f7f3f3dee5 Merge pull request #2318 from mattremmel/nef10_missing_docs
Added back 'missing_docs' (Nef10)
2018-07-30 00:05:05 -07:00
Marcelo Fabri 87c44108b9 Add missing tests to LinuxMain 2018-07-29 22:59:24 -07:00
Marcelo Fabri 6ea0a5c4a1 Merge pull request #2316 from realm/ks/exclude-glob
Add support for globs in excluded paths
2018-07-29 22:46:00 -07:00
Marcelo Fabri 0820cd2976 Merge pull request #2313 from Dschee/explicit-type-interface
Add option allow_redundancy to rule explicit_type_interface
2018-07-29 22:45:17 -07:00
Marcelo Fabri d241d56984 Fix changelog 2018-07-29 22:42:09 -07:00
Marcelo Fabri 744403cedb Merge pull request #2281 from maciesielka/feature/allow-first-closure-multiline-args
add "allow_first_closure_on_same_line" configuration to "multiline_arguments"
2018-07-29 22:41:12 -07:00
Mike Ciesielka 044d9168d6 Disable "line_length" to make exception for console output of lengthy configuration name "only_enforce_after_first_closure_on_first_line" 2018-07-28 15:49:36 -04:00
Michael Ciesielka 7efce91996 Rename “allow_first_closure_on_same_line” configuration for “multiline_arguments” rule to “only_enforce_after_first_closure_on_first_line” to increase clarity. 2018-07-28 15:28:34 -04:00
Cihat Gündüz 42cea6e4ba [CHANGELOG.md] Mention new option explicitly 2018-07-27 19:01:29 +02:00
Cihat Gündüz ca0aaf99ff Move changelog entry to enhancements section 2018-07-27 11:14:05 +02:00
Cihat Gündüz b4f960bd48 Add config option allow_redundancy 2018-07-27 11:12:46 +02:00
Cihat Gündüz 1e093e8d6b Add changelog entry 2018-07-27 11:12:46 +02:00
Cihat Gündüz 33b7213dca Make explicit_type_interface rule compatible with redundant_type_annotation 2018-07-27 11:12:46 +02:00
Cihat Gündüz d616282892 Add failing test for false positive in rule explicit_type_interface 2018-07-27 11:12:46 +02:00
Keith Smiley 8354eeec22 Update readme 2018-07-26 10:21:14 -07:00
Keith Smiley 949b8b1c94 Update project 2018-07-26 10:21:14 -07:00
Keith Smiley 2515c0f936 flatMap it 2018-07-26 10:21:13 -07:00
Keith Smiley 389731c0ab Fix changelog spacing 2018-07-26 10:21:13 -07:00
Keith Smiley 97dc3b69e5 Rename function 2018-07-26 10:21:13 -07:00
Keith Smiley b21307530c Move glob to its own struct 2018-07-26 10:21:13 -07:00
Keith Smiley 63edaa9081 Move alias tests to new file 2018-07-26 10:21:13 -07:00
Keith Smiley a807d723e4 Add support for globs in excluded paths 2018-07-26 10:21:13 -07:00
Marcelo Fabri f4add39d1a Merge pull request #2320 from marcelofabri/autocorrect-redundant-type
Fix autocorrection for `redundant_type_annotation`
2018-07-26 09:49:24 -07:00
Marcelo Fabri 8197236995 Fix autocorrection for redundant_type_annotation
Fixes #2314
2018-07-26 07:54:35 -07:00
Matthew Remmel 7668b90b7f Regenerated LinuxMain.swift using sourcery 2018-07-25 14:17:41 -04:00
Matthew Remmel b990eb94f8 Fixed incorrect conflict merge 2018-07-25 13:38:55 -04:00
Matthew Remmel 89adc4224c Patch created from Nef10 (https://github.com/Nef10/SwiftLint.git) missing_docs branch, to remove merge commits that were preventing merging the PR (https://github.com/realm/SwiftLint/pull/2172) 2018-07-25 11:34:53 -04:00