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
86214a7758
remove trailing comma from array
2017-01-10 15:31:55 -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
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
JP Simard
a291bb594a
update SwiftLintFramework/Extensions to follow Swift 3 API Design Guidelines
2017-01-09 17:53:07 -08:00
Marcelo Fabri
20620d5b6e
Merge branch 'master' into cache
2017-01-07 12:54:27 -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
Marcelo Fabri
b1b9027663
Merge branch 'master' into cache
2017-01-06 21:06:50 -02:00
JP Simard
36b1ea0ba4
fix linting directories ending in .swift
2017-01-06 11:33:21 -08:00
Marcelo Fabri
8af6552b73
Merge branch 'master' into cache
2017-01-04 13:37:24 -02:00
JP Simard
cce3505f1b
pass function reference rather than create a small closure
2017-01-03 23:30:55 -08:00
Marcelo Fabri
12a66d4fe1
Remove handleAlias function
2017-01-03 18:04:37 -02:00
Marcelo Fabri
3b682fb116
Remove support to non-deprecated aliases
2017-01-03 16:14:34 -02:00
Marcelo Fabri
a5683fa393
PR feedback
2017-01-02 16:21:10 -02:00
Marcelo Fabri
2e8ada85b1
Logging deprecation warning and adding tests
2017-01-02 16:21:10 -02:00
Marcelo Fabri
df8429d2eb
Add support for rule aliases
2017-01-02 16:21:10 -02:00
Marcelo Fabri
c7461e0bbb
Supporting CLI and configuration options
2016-12-31 00:26:05 -02:00
Marcelo Fabri
a47385a64f
Ignore cache if configuration has changed
2016-12-31 00:24:54 -02:00
Marcelo Fabri
c43f808cfc
Re-enable ConfigurationTests.testExcludedPaths
2016-12-26 13:32:13 -02:00
JP Simard
0faf567931
use bridge() rather than explict or implicit casts
...
this is a step in aligning the code to compile on both Darwin and
Linux
2016-12-11 13:47:44 -08:00
Marcelo Fabri
13b0cfe623
Fixing inconsistencies
2016-12-08 18:29:57 -02:00
JP Simard
cd632bc106
fix silly typo
2016-12-08 12:13:11 -08:00
JP Simard
a57526d639
omit 'self.' references when not ambiguous
2016-12-08 01:25:54 -08:00
JP Simard
19fad01b29
make all enum members lowercase to comply with Swift 3 API Guidelines
2016-12-01 22:16:21 -08:00
JP Simard
0b481f1e16
change Array.arrayOf(_:) to Array.array(of:)
2016-12-01 18:09:38 -08:00
JP Simard
39e1001629
make lots of Swift 3 related changes
...
many of which are to help with otherwise very long compile times
2016-12-01 00:34:29 -08:00
Norio Nomura
ee638ef428
Merge commit '20870e7ab140e39dbe426feb322e8b02c7cfc993' into swift3.0
...
* commit '20870e7ab140e39dbe426feb322e8b02c7cfc993':
fix single file usage: `swiftlint lint --path File.swift`
# Conflicts:
# Source/SwiftLintFramework/Extensions/NSFileManager+SwiftLint.swift
# Source/SwiftLintFramework/Models/Configuration.swift
# Tests/SwiftLintFrameworkTests/ConfigurationTests.swift
2016-11-30 14:04:45 +09:00
JP Simard
3568245c19
fix single file usage: swiftlint lint --path File.swift
2016-11-23 17:13:22 -08:00
Norio Nomura
40828dff03
Merge branch 'master' into swift3.0
...
* master: (41 commits)
Fix formatting in CHANGELOG.md
release 0.13.0
Update CHANGELOG.md
Fix check for trailing whitespace to return early
Fix checks for some inline comments
Replace check for comments to use SyntaxKind
Add configuration for trailing_whitespace to ignore comments
Unwanted space removed
- Lint issues fixed
Updated HTML Reporter
PR feedback
Add check on autocorrect for disabled range
Use `utf8.count` instead of `utf16.count` to byte range
Re-write `ExplicitInitRule` to `ASTRule`
added ExplicitInitRule
Updated CHANGELOG
HTML Reporter added
HTML Reporter added
Adds information about SwiftLint plugin for AppCode into README.md
added reasons why a new rule should be opt in
...
# Conflicts:
# Source/SwiftLintFramework/Extensions/File+SwiftLint.swift
# Source/SwiftLintFramework/Extensions/Structure+SwiftLint.swift
# Source/SwiftLintFramework/Rules/ColonRule.swift
# Source/SwiftLintFramework/Rules/CommaRule.swift
# Source/SwiftLintFramework/Rules/LegacyCGGeometryFunctionsRule.swift
# Source/SwiftLintFramework/Rules/LegacyConstantRule.swift
# Source/SwiftLintFramework/Rules/LegacyConstructorRule.swift
# Source/SwiftLintFramework/Rules/LegacyNSGeometryFunctionsRule.swift
# Source/SwiftLintFramework/Rules/LineLengthRule.swift
# Source/SwiftLintFramework/Rules/OperatorFunctionWhitespaceRule.swift
# Source/SwiftLintFramework/Rules/ReturnArrowWhitespaceRule.swift
# Source/SwiftLintFramework/Rules/RuleConfigurations/StatementPositionConfiguration.swift
# Source/SwiftLintFramework/Rules/StatementPositionRule.swift
# Source/SwiftLintFramework/Rules/TrailingWhitespaceRule.swift
# Tests/SwiftLintFramework/RuleConfigurationTests.swift
2016-11-04 21:40:56 +09:00
Norio Nomura
8bf15f1dba
Migrate to Swift 3.0
2016-10-09 01:09:50 +09:00
J Cheyo Jimenez
8bed233282
added closure-spacing-rule
2016-09-03 21:10:33 -07:00
Cristian Filipov
ed192f35bd
Fix long lines and unit test
2016-08-22 23:17:50 -07:00
Cristian Filipov
c2a58a574a
Merge remote-tracking branch 'upstream/master' into cfilipov/fix_absolute_path
2016-08-21 23:21:39 -07:00
Cristian Filipov
e543b54a17
Update CHANGELOG & code spacing
2016-08-21 23:15:01 -07:00
JP Simard
7bb369b92f
minor tweaks after merging #757
2016-08-21 16:37:22 -07:00
George Woodham
8ce4af6f54
Changes after PR feedback. Removed ?? nil as this does nothing. Removed some redundant conditional
2016-08-22 11:21:29 +12:00
Cristian Filipov
27aa8e3383
Use path arg as root for include/exclude paths
2016-08-18 16:44:21 -07:00
George Woodham
6b9bb2e98d
Added function to create an error when the threshold has been broken
2016-08-15 10:47:29 +12:00
George Woodham
4a3987a9b4
Using configuration parameter instead of new rule
2016-07-19 16:35:40 +12:00
JP Simard
c66c5c8df0
formatting fixes
...
found running `swiftlint autocorrect --format`
2016-05-29 14:58:28 -07:00
Brian Hardy
5c1d40ca87
Updates whitespace to avoid line length violation.
...
The shame, oh the shame.
2016-05-02 00:23:49 -04:00
Brian Hardy
88c0c8ba8e
Improves error messaging for Configuration, particularly with YAML parsing.
2016-05-02 00:05:57 -04:00
Norio Nomura
1716c6e108
Did not pass the IntegrationTests
2016-02-13 13:14:41 +09:00