JP Simard
a2a636d749
fix MarkRule edge cases
...
fixes #805
2016-11-23 15:30:29 -08:00
JP Simard
55a0b5ec5a
fix typo: coalesing -> coalescing
...
fixes #866
2016-11-07 13:30:53 -08:00
Norio Nomura
19b9d806fd
release 0.13.0
2016-11-04 17:24:43 +09:00
Javier Hernández
418b82449e
Fix check for trailing whitespace to return early
2016-11-04 07:19:56 +00:00
Javier Hernández
7107dfd7b6
Fix checks for some inline comments
2016-11-04 07:19:56 +00:00
Javier Hernández
90420aa0c9
Replace check for comments to use SyntaxKind
2016-11-04 07:19:56 +00:00
Javier Hernández
84b8b03e89
Add configuration for trailing_whitespace to ignore comments
2016-11-04 07:19:56 +00:00
Johnykutty Mathew
757ca5bc04
Unwanted space removed
2016-11-03 17:10:55 +05:30
Johnykutty Mathew
354f7f02fe
Merge remote-tracking branch 'origin/master'
2016-11-02 14:39:20 +05:30
Johnykutty Mathew
e0627a3063
- Lint issues fixed
2016-11-02 14:38:09 +05:30
Johnykutty Mathew
1358401bc4
Merge branch 'master' into master
2016-11-02 14:27:00 +05:30
Johnykutty Mathew
af7404aa3d
Updated HTML Reporter
2016-11-01 20:00:31 +05:30
Norio Nomura
0d432620cc
Merge pull request #849 from marcelofabri/valid-ibinspectable
...
Adding ValidIBInspectableRule rule
2016-10-31 17:55:32 +09:00
Marcelo Fabri
0697cf7c88
PR feedback
2016-10-29 13:18:25 -02:00
Norio Nomura
a1f1a9fcd2
Merge pull request #838 from realm/nn/fix-813
...
Fix `ForceUnwrappingRule` did not recognize force unwraps in return statements using subscript
2016-10-29 14:56:05 +09:00
Norio Nomura
9b64c7dd36
Add check on autocorrect for disabled range
2016-10-29 14:33:34 +09:00
Norio Nomura
19db7b6108
Use utf8.count instead of utf16.count to byte range
2016-10-29 14:22:59 +09:00
Norio Nomura
94ca0dcc82
Re-write ExplicitInitRule to ASTRule
2016-10-29 14:22:59 +09:00
Matt Taube
cec0a61761
added ExplicitInitRule
2016-10-29 14:22:58 +09:00
Norio Nomura
21e3439bfa
Merge pull request #766 from masters3d/no-autocorrect-disabled-rules
...
Added disable rule test to autocorrect
2016-10-29 14:09:11 +09:00
Johnykutty Mathew
6fb7ca1246
HTML Reporter added
2016-10-27 18:11:20 +05:30
Norio Nomura
c16efa15fb
Merge pull request #807 from masters3d/closure-spacing
...
added closure-spacing-rule
2016-10-24 19:30:13 +09:00
Brian Lu
21c4303bad
Fix "Statment" typos
2016-10-21 21:07:37 -04:00
Angel Garcia
6161c9b001
Renamed rule and configuration to OverridenSuperCall
2016-10-20 09:44:18 +02:00
Marcelo Fabri
a1096e8ee2
Adding ValidIBInspectableRule rule
...
Fixes #756
2016-10-20 03:21:46 -02:00
Angel Garcia
aec1679a5d
Merge remote-tracking branch 'refs/remotes/realm/master' into feature/super_rule
2016-10-19 11:23:35 +02:00
Angel Garcia
2d758dd70d
Changed resolvedMethodNames to compute on configuration changes only
2016-10-19 11:20:31 +02:00
Angel Garcia
811281c252
Fixed issue with empty body methods not triggering
2016-10-19 11:02:14 +02:00
Norio Nomura
3ecefe9663
Merge pull request #845 from marcelofabri/case-new-line-rule
...
Add SwitchCaseOnNewline rule
2016-10-18 17:48:21 +09:00
Angel Garcia
d499316049
Added example of duplicate call and changed viewWillAppear declaration
2016-10-17 14:11:07 +02:00
Angel Garcia
83141c1967
List of methods sorted by class+method name
2016-10-17 13:42:19 +02:00
Angel Garcia
51862ea8f5
Merge remote-tracking branch 'refs/remotes/realm/master' into feature/super_rule
2016-10-17 13:23:58 +02:00
Marcelo Fabri
fb3cddbdc2
Using character based init
2016-10-16 14:21:14 -02:00
Marcelo Fabri
8ab496d850
PR feedback
2016-10-16 14:16:51 -02:00
Marcelo Fabri
72589c46d2
Handling pattern matching cases (if case, for case, etc)
2016-10-16 03:09:33 -02:00
Marcelo Fabri
82bcd68ea6
Addressing PR feedback
2016-10-16 02:41:44 -02:00
Marcelo Fabri
8d0f344747
Add SwitchCaseOnNewline rule
...
This fixes https://github.com/realm/SwiftLint/issues/681
2016-10-16 02:39:06 -02:00
Marcelo Fabri
9d486b88cc
Validates if "return" in ConditionalReturnsOnNewline is a keyword
...
Fixes https://github.com/realm/SwiftLint/issues/784
2016-10-15 12:09:06 -03:00
Norio Nomura
96b1d73d2c
Merge pull request #830 from VFUC/linecount-color-literals
...
Color literals count as single character towards line count
2016-10-14 19:10:13 +09:00
Jonas Wippermann
ae942d4b9e
Remove whitespace
2016-10-13 21:31:33 +02:00
Jonas Wippermann
c6e2a621dd
Extract literal stripping into function, add image literal stripping
2016-10-13 21:30:16 +02:00
Jonas Wippermann
848790e54d
Fix indentation
2016-10-13 20:54:13 +02:00
Norio Nomura
6c0bf50ab3
Fix ForceUnwrappingRule did not recognize force unwraps in return statements using subscript
2016-10-13 00:27:58 +09:00
Norio Nomura
8ccfb89040
Add false negative example from #813
2016-10-13 00:19:37 +09:00
Norio Nomura
7702493c6c
Change File.cacheKey algorithm when File.path is nil
...
Sometime `ObjectIdentifier(self)` might collide between tests in SourceKitCrashTests.
The collision caused fail on `testAssertHandlerIsNotCalledOnNormalFile`.
2016-10-12 09:45:23 +09:00
Jonas Wippermann
59ed827009
Adds triggering and non-triggering example, color literals are treated as any other characters
2016-10-09 13:29:34 +02:00
Jonas Wippermann
068e3093cc
Switches to using substring replacement of temporary string in order to detect multiple color literals in one line
2016-10-09 10:34:53 +02:00
Jonas Wippermann
be63968901
Improves line length and whitespace to satisfy linting of source file
2016-10-08 22:32:45 +02:00
Jonas Wippermann
11f324d9d7
Color literals counts as single character towards line count
2016-10-07 23:18:24 +02:00
Norio Nomura
2efa8de80f
Merge commit '57e24b291ad98d9cf777ef16086ad15310d92c81'
...
* commit '57e24b291ad98d9cf777ef16086ad15310d92c81':
Adding bug fix for Changelog
Passing in severity configuration
# Conflicts:
# CHANGELOG.md
2016-10-03 18:47:48 +09:00