Marcelo Fabri
7f1cabc568
Make vertical_whitespace rule slightly faster
...
And also refactor it a bit.
2017-01-23 21:34:34 -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
7522635ad8
update SwiftLintFramework/Rules to follow Swift 3 API Design Guidelines
2017-01-09 19:37:53 -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
a291bb594a
update SwiftLintFramework/Extensions to follow Swift 3 API Design Guidelines
2017-01-09 17:53:07 -08:00
Aaron McTavish
00b8e79318
Add max_empty_lines config to vertical_whitespace
...
Update `vertical_whitespace` rule to allow configuration of the number
of consecutive empty lines before a violation using `max_empty_lines`.
The default value is still 1 line.
2017-01-05 10:05:03 +00:00
Marcelo Fabri
9e4d464e45
Add violation markers in rules
2016-12-18 01:07:51 -02:00
Marcelo Fabri
13b0cfe623
Fixing inconsistencies
2016-12-08 18:29:57 -02:00
JP Simard
19fad01b29
make all enum members lowercase to comply with Swift 3 API Guidelines
2016-12-01 22:16:21 -08:00
Norio Nomura
84ca11b6aa
Merge commit 'b22d1a93c93537acde79a2496031012489fe270d' into swift3.0
...
* commit 'b22d1a93c93537acde79a2496031012489fe270d':
Updating CHANGELOG entry
Updates existing code to respect TrailingCommaRule
Add configuration to enforce/forbid trailing comma
Fixing rebase
Addded TrailingCommaRule
2016-11-30 19:38:31 +09:00
Marcelo Fabri
d8fd865491
Updates existing code to respect TrailingCommaRule
2016-11-25 23:52:07 -02:00
Norio Nomura
8bf15f1dba
Migrate to Swift 3.0
2016-10-09 01:09:50 +09:00
J Cheyo Jimenez
651351e3bd
fix for verticalspace regex bug
2016-08-28 21:43:42 -07:00
JP Simard
f559abb2d5
make Vertical Whitespace rule opt-in
...
fixes #772
2016-08-24 12:29:24 -07:00
J Cheyo Jimenez
06d2a39e32
minor tweaks
2016-08-22 13:26:54 -07:00
J Cheyo Jimenez
854d1e6714
[new rule] VerticalWhitespace rule
2016-08-22 11:00:40 -07:00