JP Simard
|
a01ebc5167
|
introduce CorrectableRule protocol and Linter.correct()
|
2015-12-05 21:09:43 -08:00 |
|
JP Simard
|
0ca4221161
|
move Configuration.lintableFilesForPath out of extension and into framework
|
2015-12-05 20:49:49 -08:00 |
|
JP Simard
|
9c3c61c54b
|
move filesToLintAtPath to NSFileManager extension in SwiftLintFramework
|
2015-12-05 20:44:00 -08:00 |
|
JP Simard
|
008f85f3ac
|
Fix issues with multi-byte characters. Fixes #234.
|
2015-12-03 14:49:44 -08:00 |
|
JP Simard
|
c257fc7180
|
add RuleDescription.consoleDescription
|
2015-11-30 01:48:45 -08:00 |
|
JP Simard
|
6c64b10917
|
[ValidDocsRule] skip comments with batched parameters
|
2015-11-30 01:05:33 -08:00 |
|
JP Simard
|
810039bcb3
|
[ValidDocsRule] trigger a violation when there's superfluous parameter docs
|
2015-11-29 21:58:21 -08:00 |
|
JP Simard
|
41b75cef97
|
[ValidDocsRule] simplify multiple checks
|
2015-11-29 21:58:21 -08:00 |
|
JP Simard
|
0f6cb2f404
|
[ValidDocsRule] check for missing or superfluous "throws" documentation
|
2015-11-29 21:58:21 -08:00 |
|
JP Simard
|
00c4de4050
|
[ValidDocsRule] check for missing or superfluous "return" documentation
|
2015-11-29 21:58:21 -08:00 |
|
JP Simard
|
3f12970342
|
[ValidDocsRule] improve variable naming
|
2015-11-29 21:58:21 -08:00 |
|
JP Simard
|
eb6e52ee1a
|
[ValidDocsRule] skip :nodoc: & make parameter name detection more flexible
by allowing the use of either the parameter name or its label
|
2015-11-29 21:58:21 -08:00 |
|
JP Simard
|
9cc9e64374
|
add Valid Docs rule
|
2015-11-29 21:58:16 -08:00 |
|
JP Simard
|
b41092a65c
|
update SourceKitten to master
|
2015-11-29 21:56:54 -08:00 |
|
JP Simard
|
96a4e6cc2f
|
remove init() from Rule.
|
2015-11-29 21:43:53 -08:00 |
|
Marcelo Fabri
|
63216c56cb
|
Refactoring LegacyConstructorRule
|
2015-11-29 21:40:08 -02:00 |
|
Marcelo Fabri
|
1fec14180f
|
Adding LegacyConstructorRule
|
2015-11-29 01:46:06 -02:00 |
|
Marcelo Fabri
|
1bc53b50fe
|
Fixing typo
|
2015-11-28 01:12:14 -02:00 |
|
Marcelo Fabri
|
815f19632b
|
Variable name violation should be ignored if the entire name is in capitals
|
2015-11-28 00:16:56 -02:00 |
|
JP Simard
|
9be89a686e
|
fix inappropriate uses of flatMap where we should be using map
|
2015-11-27 17:32:21 -08:00 |
|
JP Simard
|
9276ec178d
|
fix statement position rule false positives. fixes #237.
|
2015-11-26 11:23:25 -08:00 |
|
JP Simard
|
717b36ca0c
|
print terminating newline from queuedPrint
|
2015-11-20 23:40:12 -08:00 |
|
JP Simard
|
80a1068a58
|
minor syntax fix in ControlStatementRule
|
2015-11-20 21:56:42 -08:00 |
|
JP Simard
|
68ec42d3cb
|
minor refactor of NestingRule
|
2015-11-20 21:46:45 -08:00 |
|
JP Simard
|
e0df8df817
|
Merge pull request #216 from realm/jp-queue-logs
Fix an issue where logs would be printed asynchronously
|
2015-11-18 08:21:07 -08:00 |
|
Keith Smiley
|
1201a9e38c
|
Release 0.4.0
|
2015-11-17 19:50:49 -08:00 |
|
JP Simard
|
173c0058ca
|
Merge pull request #217 from crimsonwoods/fix_issue_213_wrong_line_number_is_detected
Fix an issue: wrong line number and/or index is reported
|
2015-11-17 19:44:57 -08:00 |
|
crimsonwoods
|
4806e31f23
|
Rename lineAndCharacterForByteOffset to lineAndCharacterForCharacterOffset.
According to a change 247f02eff4,
method name should be changed.
|
2015-11-18 12:05:08 +09:00 |
|
JP Simard
|
306a80a00a
|
Fix an issue where logs would be printed asynchronously. Fixes #200.
|
2015-11-17 18:15:13 -08:00 |
|
crimsonwoods
|
247f02eff4
|
Issue fix #213 : offset parameter should be used as a character-offset, not a byte-offset.
|
2015-11-18 10:42:30 +09:00 |
|
JP Simard
|
73896ee04c
|
add force try rule
|
2015-11-17 16:51:37 -08:00 |
|
JP Simard
|
ecb2a8bee5
|
refactor variable name rules
|
2015-11-17 16:13:06 -08:00 |
|
JP Simard
|
c31f33b49e
|
check isEmpty rather than test count against zero
|
2015-11-17 13:17:24 -08:00 |
|
JP Simard
|
d269bde1fa
|
allow trailing semicolons in comments
|
2015-11-17 11:41:02 -08:00 |
|
JP Simard
|
0a2b9e8a54
|
add trailing semicolon rule
|
2015-11-17 10:46:26 -08:00 |
|
JP Simard
|
a45043bbaf
|
use verifyRule to test Trailing Newline rule
|
2015-11-17 10:44:30 -08:00 |
|
JP Simard
|
1048fb05e7
|
clean up Configuration.swift
|
2015-11-17 10:40:54 -08:00 |
|
JP Simard
|
66a8b4441d
|
minor improvements to the variable name family of rules
|
2015-11-17 10:30:53 -08:00 |
|
JP Simard
|
989127cbe0
|
[StyleViolation] use RuleDescription's description when reason is nil
Many cases just used a static string that was nearly identical to the rule
description as the `reason` parameter when initializing a StyleViolation.
|
2015-11-17 10:25:57 -08:00 |
|
JP Simard
|
76b30ee19b
|
make all rule descriptions follow a consistent format
|
2015-11-17 10:18:29 -08:00 |
|
JP Simard
|
4a5ac44897
|
add SyntaxKind.commentAndStringKinds()
|
2015-11-17 10:11:04 -08:00 |
|
JP Simard
|
8a30cb2e3d
|
organize Xcode project
make Extensions, Models & Protocols groups under SourceKittenFramework
|
2015-11-15 15:07:25 -08:00 |
|
JP Simard
|
2300904500
|
update dependencies & make minor improvements to some rules
|
2015-11-15 14:53:41 -08:00 |
|
JP Simard
|
6f643c4358
|
minor refactoring improvements
|
2015-11-15 14:28:33 -08:00 |
|
Mickael Morier
|
528af41764
|
fix colon rule issue #135
|
2015-11-15 16:11:56 +01:00 |
|
David Paschich
|
4af4909ad2
|
Filter out rules which don't exist rather than failing the configuration.
|
2015-11-12 20:55:07 -08:00 |
|
Keith Smiley
|
631bd965b4
|
Fix brace spelling error
|
2015-11-11 15:47:02 -08:00 |
|
Mickael Morier
|
8f1788ad5f
|
some refactor after code review
|
2015-11-11 21:20:51 +01:00 |
|
Mickael Morier
|
b18463154c
|
improve ControlStatementRule especially when several parentheses exists in condition and several bad cases appears
|
2015-11-11 16:36:47 +01:00 |
|
JP Simard
|
a73341e38d
|
[Configuration] fix whitespace
|
2015-11-10 14:10:43 -08:00 |
|