Marcelo Fabri
|
43a91ef31e
|
Add workaround for CharacterSet crash on Linux
|
2017-01-23 21:38:56 -02:00 |
|
Marcelo Fabri
|
44c55f4bde
|
VariableNameRule is now IdentifierNameRule
|
2017-01-23 21:38:56 -02:00 |
|
Marcelo Fabri
|
11364edeb2
|
Renaming enums
|
2017-01-23 21:38:56 -02:00 |
|
Marcelo Fabri
|
e1eae5ec24
|
Function kinds refactor
|
2017-01-23 21:38:56 -02:00 |
|
JP Simard
|
29cdc86185
|
add some convenience members to SourceKit dictionaries
|
2017-01-22 11:00:57 -08:00 |
|
JP Simard
|
3599723a65
|
simplify equality check in AttributesRule
|
2017-01-22 09:40:23 -08:00 |
|
Marcelo Fabri
|
394069e1e3
|
Make redundant_nil_coalescing faster
|
2017-01-22 02:19:51 -02:00 |
|
Marcelo Fabri
|
6859d5f494
|
Performance improvements to generic_type_name rule
This simple regex change boosted the rule time from ~`0,500`s to ~`0,070`s.
|
2017-01-21 14:04:18 -02:00 |
|
Marcelo Fabri
|
66e9635766
|
Add nonTriggering examples
|
2017-01-19 14:15:47 -02:00 |
|
Marcelo Fabri
|
a11fe6accb
|
Disable commutative operations on shorthand_operator rule
Fixes #1182, #1183, #1211
|
2017-01-18 22:07:45 -02:00 |
|
Aaron McTavish
|
980b8fff8f
|
Clean LegacyConstantRule from code review
Comments by @marcelofabri
|
2017-01-18 12:16:27 +00:00 |
|
Aaron McTavish
|
eb902f79ad
|
Fix legacy_constant for Swift 2
|
2017-01-17 15:38:49 +00:00 |
|
Aaron McTavish
|
edb0fedd0e
|
Update legacy_constant to support CGFloat.pi
Resolves #1198 `Prefer CGFloat.pi to CGFloat(M_PI)`.
|
2017-01-17 08:10:56 +00:00 |
|
Marcelo Fabri
|
0b268ad606
|
Merge pull request #1202 from bjarkehs/decimal_number_separator
Add minimum_fraction_length to number_separator
|
2017-01-17 04:56:11 -02:00 |
|
Bjarke Hesthaven Søndergaard
|
4a9d354210
|
Fixes to comply with review
|
2017-01-16 20:38:29 +01:00 |
|
Bjarke Hesthaven Søndergaard
|
ad749ac9f7
|
Add minimum_fraction_length configuration
|
2017-01-16 18:40:11 +01:00 |
|
Mikael Konradsson
|
f8c2ed6a54
|
Fixed typo
|
2017-01-16 16:32:25 +01:00 |
|
Aaron McTavish
|
9cfc51a527
|
Ignore overrides for variable_name
Resolves #1169 `variable_name should not apply to overriding
properties`.
|
2017-01-16 10:41:01 +00:00 |
|
JP Simard
|
4d709b68d0
|
Merge pull request #1179 from rakaramos/unsued-optional-binding
Unused optional binding
|
2017-01-12 11:11:01 -08:00 |
|
rakaramos
|
7625c08d86
|
Improve tuples checking
|
2017-01-12 12:37:42 -02:00 |
|
Alpa Dedhia
|
ec48387973
|
correct spelling mistake Redudant -> Redundant
|
2017-01-12 13:57:58 +05:30 |
|
Marcelo Fabri
|
a761608403
|
Fix false positive on operator_usage_whitespace
Fixes #1153
|
2017-01-11 19:41:17 -02:00 |
|
Marcelo Fabri
|
ece8c7b596
|
Fix more false positives on shorthand_operator
Fixes #1163
|
2017-01-11 18:02:59 -02:00 |
|
Marcelo Fabri
|
c4106c3325
|
Fix false positive on redundant_optional_initialization
Fixes #1159
|
2017-01-11 15:52:37 -02:00 |
|
Marcelo Fabri
|
cbe149f7ee
|
Fix false positive on shorthand_operator rule
Fixes #1156
|
2017-01-11 02:59:39 -02:00 |
|
JP Simard
|
92c5a11303
|
Merge pull request #1119 from rakaramos/master
Add Unused optional binding rule
|
2017-01-10 14:19:05 -08:00 |
|
rakaramos
|
23a0d53424
|
Merge branch 'master' of github.com:realm/SwiftLint
|
2017-01-10 10:12:28 -02:00 |
|
rakaramos
|
c0a9aa44b7
|
Fix triggering example and add couple more
|
2017-01-10 09:36:51 -02:00 |
|
JP Simard
|
f0006fe9a3
|
rename VerticalWhitespaceRule.internalValidate(file:)
to violatingLineSections(in:)
|
2017-01-09 20:31:06 -08:00 |
|
JP Simard
|
c1be9cdd21
|
use 'guard shouldMakeViolation'
|
2017-01-09 20:28:06 -08:00 |
|
JP Simard
|
9a0bd3afc2
|
move extractCallsToSuper to Dictionary extension
|
2017-01-09 20:24:46 -08:00 |
|
JP Simard
|
40e6272f90
|
make reduceSwitchComplexity's first argument label more explicity
|
2017-01-09 19:46:35 -08:00 |
|
JP Simard
|
7522635ad8
|
update SwiftLintFramework/Rules to follow Swift 3 API Design Guidelines
|
2017-01-09 19:37:53 -08:00 |
|
JP Simard
|
a98b0c0070
|
address some PR feedback
|
2017-01-09 19:28:08 -08:00 |
|
JP Simard
|
9e7cdc3282
|
update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines
|
2017-01-09 19:19:25 -08:00 |
|
JP Simard
|
dbd50c0f1d
|
address some PR feedback
|
2017-01-09 18:55:28 -08:00 |
|
JP Simard
|
93bf35824e
|
address some PR feedback
|
2017-01-09 18:54:11 -08:00 |
|
JP Simard
|
a291bb594a
|
update SwiftLintFramework/Extensions to follow Swift 3 API Design Guidelines
|
2017-01-09 17:53:07 -08:00 |
|
JP Simard
|
3f13da32f0
|
remove FooTest class
|
2017-01-09 16:25:19 -08:00 |
|
Marcelo Fabri
|
0f64ef2992
|
Fix false positive on vertical_parameter_alignment rule
Fixes #1129
|
2017-01-09 20:03:12 -02:00 |
|
rakaramos
|
147bfd6d5b
|
Use range parameter if exists
|
2017-01-09 13:14:21 -02:00 |
|
Rafael Machado
|
4419b047e0
|
Fix indentation
|
2017-01-07 19:44:03 -02:00 |
|
Rafael Machado
|
23025cc101
|
Delete extra variable
|
2017-01-07 16:54:59 -02:00 |
|
Rafael Machado
|
87ea70f749
|
Clean up code and improve overall logic
|
2017-01-07 16:28:29 -02:00 |
|
Rafael Machado
|
da164d72bb
|
Clean up regex pattern
|
2017-01-07 13:30:13 -02:00 |
|
Rafael Machado
|
d20d979243
|
Delete print command
|
2017-01-07 13:28:53 -02:00 |
|
Rafael Machado
|
fd87bf2a86
|
Fix test case clause
|
2017-01-07 13:28:31 -02:00 |
|
Rafael Machado
|
8e5a63d1c0
|
Merge branch 'master' of github.com:realm/SwiftLint
|
2017-01-07 09:01:22 -02:00 |
|
Rafael Machado
|
56d9b11ea3
|
Ignore tuples
|
2017-01-07 09:00:07 -02:00 |
|
JP Simard
|
c2a26c37d5
|
Merge pull request #1133 from dduan/more_ints_in_valid_ibdesignable
Permit more Int types in valid_ibinspectable
|
2017-01-06 20:03:51 -08:00 |
|