Marcelo Fabri
cc9e81754f
0.17.0: Extra Rinse Cycle
2017-03-23 22:32:37 +01:00
Marcelo Fabri
e26710c0ad
Merge pull request #1362 from SiarheiFedartsou/implicitly_unwrapped_optional_rule
...
Add `implicitly_unwrapped_optional` rule
2017-03-22 21:16:18 +01:00
Siarhei Fedartsou
a992ee0e84
Merge remote-tracking branch 'realm/master' into implicitly_unwrapped_optional_rule
2017-03-22 20:24:04 +03:00
Kim de Vos
f838bd6627
Added FatalErrorMessageRule
2017-03-19 00:30:02 +01:00
Kim de Vos
ec25033b73
Ordered by name
2017-03-18 16:57:44 +01:00
Kim de Vos
d475ed0241
Changed rule name from TypeInterfaceRule to ExplicitTypeInterfaceRule
2017-03-18 16:57:43 +01:00
Kim de Vos
0cbeab2c6d
Added TypeInterfaceRule to the MasterRuleList
2017-03-18 16:57:10 +01:00
Siarhei Fedartsou
fe8359a81d
Add implicitly_unwrapped_optional rule
2017-03-18 00:01:32 +03:00
Natan Rolnik
ef28e204e2
Allow displaying only enabled rules in RulesCommand
2017-02-15 13:09:43 +02:00
Marcelo Fabri
0abc114895
Add redundant_discardable_let rule
...
Fixes #1232
2017-02-10 11:46:13 -08:00
JP Simard
8c4bfcc58d
Merge branch 'master' into identifier-rule
...
* master: (44 commits)
make valid_docs rule opt-in
update LineLengthConfiguration.consoleDescription after #1264
small refactoring after #1264
fix for_where violation in CompilerProtocolInitRule.swift
Add for_where rule
explicitly set podspec dependency versions
Add changelog entry
Fix existing violations
Navigate substructure even for different kinds
Small style changes
Modified so that kinds(forByteOffset:) does not require a separate filter() setup of the results
Changes from PR feedback. Long comments following code in a line will now trigger, configuration will now fail if invalud value types are set for options
Fix false positive on large_tuple when using generics inside a tuple
fix wording in changelog
disable docs rules in Swift 2.3 and later
Fix deadlock when stderr fills up OS buffer
small Danger/oss-check improvements
Fix links
Fix cleanup
Always use Xcode reporter on oss-check
...
2017-02-09 15:50:06 -08:00
Marcelo Fabri
f0c8fba3b6
Add for_where rule
...
Fixes #1228
2017-02-09 13:43:58 -08:00
JP Simard
a01cb69a83
disable docs rules in Swift 2.3 and later
2017-02-03 14:42:11 -08:00
Marcelo Fabri
c8e08181e0
Merge branch 'master' into identifier-rule
2017-01-25 12:17:05 -02:00
Marcelo Fabri
46a2c25af4
Add notification_center_detachment rule
...
Fixes #1061
2017-01-24 22:27:45 -02:00
Marcelo Fabri
44c55f4bde
VariableNameRule is now IdentifierNameRule
2017-01-23 21:38:56 -02:00
Marcelo Fabri
c891efc8d6
Add discarded_notification_center_observer rule
...
Fixes #1062
2017-01-23 21:38:33 -02:00
JP Simard
85abab13b9
fix SPM build
2017-01-20 11:17:48 -08:00
JP Simard
16ca04905c
0.16.1: Commutative Fabric Sheets
2017-01-20 10:32:33 -08:00
JP Simard
3294e5cbab
allow forcing Swift version via SWIFTLINT_SWIFT_VERSION
2017-01-20 10:14:33 -08:00
JP Simard
df6cfa4d56
use enableAllRules in Configuration.swift
2017-01-12 14:13:48 -08:00
Marcelo Fabri
e6155ea76e
Fix excluded configuration not excluding files.
...
Fixes #1166
2017-01-12 00:36:59 -02:00
JP Simard
ed7209cb45
0.16.0: Maximum Energy Efficiency Setting
2017-01-10 17:05:13 -08:00
JP Simard
86214a7758
remove trailing comma from array
2017-01-10 15:31:55 -08:00
JP Simard
0530a2303f
Merge branch 'master' into cache
...
* master:
fix typos in ProjectMock configuration files
update SourceKitten to 0.17
build SwiftLint in release mode when running benchmarks
run Circle CI's Xcode 8.2 image
don't pass CI if Danger crashes
Fix triggering example and add couple more
Use range parameter if exists
CHANGELOG entries must break at the 80th char
Fix indentation
Update CHANGELOG
Delete extra variable
Clean up code and improve overall logic
Add range to avoid whole file lookup
Clean up regex pattern
Delete print command
Fix test case clause
Ignore tuples
Append test to allTests array
Add CHANGELOG entry
Add UnusedOptionalBinding rule
2017-01-10 15:19:27 -08:00
Marcelo Fabri
2a97a1cd3d
PR feedback
2017-01-10 20:53:17 -02:00
Marcelo Fabri
66d0bb2eb8
Update how hash is calculated
2017-01-10 20:49:53 -02:00
Marcelo Fabri
c28e3080f1
Get hash from parsed dictionary instead of String
2017-01-10 18:14:19 -02:00
Marcelo Fabri
94f48f4ebd
PR feedback
2017-01-10 13:09:18 -02:00
Marcelo Fabri
e1e2369c5f
Merge branch 'master' into cache
2017-01-10 12:54:30 -02:00
rakaramos
23a0d53424
Merge branch 'master' of github.com:realm/SwiftLint
2017-01-10 10:12:28 -02:00
JP Simard
9e7cdc3282
update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines
2017-01-09 19:19:25 -08:00
JP Simard
1e48ffb8fc
address some PR feedback
2017-01-09 19:17:27 -08:00
JP Simard
c5c2e21120
update SwiftLintFramework/Models to follow Swift 3 API Design Guidelines
2017-01-09 19:05:29 -08:00
Marcelo Fabri
05d0a31865
Merge branch 'master' into cache
2017-01-09 23:53:59 -02:00
JP Simard
a291bb594a
update SwiftLintFramework/Extensions to follow Swift 3 API Design Guidelines
2017-01-09 17:53:07 -08:00
JP Simard
7fb1875613
move CommandAction and CommandModifier into Command type
...
and make Command.modifier private
2017-01-09 16:25:19 -08:00
JP Simard
1c55cc8cf5
don't swallow errors in YamlParser.parse(_:)
2017-01-09 16:25:19 -08:00
JP Simard
c06a9a7b02
add empty newline between properties and init
2017-01-09 16:25:18 -08:00
Marcelo Fabri
20620d5b6e
Merge branch 'master' into cache
2017-01-07 12:54:27 -02:00
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
b1b9027663
Merge branch 'master' into cache
2017-01-06 21:06:50 -02: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