Commit Graph

26 Commits

Author SHA1 Message Date
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
Marcelo Fabri 55f7b04a6f Fixing existing violations 2016-12-26 18:44:37 -02:00
JP Simard d113d3b091 help type inference in Legacy* rules 2016-12-08 02:05:10 -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 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 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
Norio Nomura 5d1a3c225a Merge commit '4072ca298193bac6c1d068c2fa6eba5ea82fc99d' into swift3.0
* commit '4072ca298193bac6c1d068c2fa6eba5ea82fc99d':
  OverriddenSuperCallRule formatting
  comment indentation
  ClosureSpacingRule formatting

# Conflicts:
#	Source/SwiftLintFramework/Rules/ClosureSpacingRule.swift
#	Source/SwiftLintFramework/Rules/LegacyCGGeometryFunctionsRule.swift
#	Source/SwiftLintFramework/Rules/OverridenSuperCallRule.swift
2016-11-30 14:57:08 +09:00
Marcelo Fabri d8fd865491 Updates existing code to respect TrailingCommaRule 2016-11-25 23:52:07 -02:00
JP Simard 10a865c2ea comment indentation 2016-11-25 11:43:26 -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 3ff76e7ce8 Update SourceKitten 2016-11-04 20:24:21 +09:00
Norio Nomura 8bf15f1dba Migrate to Swift 3.0 2016-10-09 01:09:50 +09:00
J Cheyo Jimenez 48a085cfc1 Added disable rule test to autocorrect 2016-08-30 15:41:17 -07:00
Blaise Sarr 4992084bbe Remove extraneous argument label in intersects function 2016-06-10 19:02:17 +02:00
Blaise Sarr 42f95be3ea Remove extraneous argument label in contains function 2016-06-10 19:02:17 +02:00
Blaise Sarr 8870dddc8d Remove extraneous argument label in contains function 2016-06-10 19:02:17 +02:00
Blaise Sarr c11977ef65 Remove extraneous argument label in intersect function 2016-06-10 19:02:17 +02:00
Blaise Sarr 85198ee891 Remove extraneous argument label in union function 2016-06-10 19:02:17 +02:00
JP Simard c66c5c8df0 formatting fixes
found running `swiftlint autocorrect --format`
2016-05-29 14:58:28 -07:00
Sarr Blaise 587e3886cf import Foundation (spm_test) 2016-04-17 21:27:43 +02:00
Sarr Blaise 4f5f3a60cd Fix correctFile: function 2016-04-17 20:59:49 +02:00
Sarr Blaise 666a5b4899 Add failing example to LegacyCGGeometryFunctionsRule 2016-04-17 20:42:06 +02:00
Blaise Sarr 94e5226a4a Implements correctFile: method 2016-04-17 14:56:03 +02:00
Blaise Sarr 4a2174de13 Implements validateFile: method 2016-04-17 14:56:03 +02:00
Blaise Sarr 9a6378520a Add LegacyCGGeometryFunctionsRul rule 2016-04-17 14:56:03 +02:00