Skip to content

Commit

Permalink
Fix rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fredpi committed Nov 9, 2019
1 parent 43111f0 commit 7a628f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@

#### Enhancements

* None.
* Add new indentation opt-in-rule checking for
basic additive indentation pattern.
[Frederick Pietschmann](https://github.com/fredpi)
[#227](https://github.com/realm/SwiftLint/issues/227)

#### Bug Fixes

Expand Down Expand Up @@ -51,11 +54,6 @@
expressions.
[PaulTaykalo](https://github.com/PaulTaykalo)
[#2918](https://github.com/realm/SwiftLint/issues/2918)

* Add new indentation opt-in-rule checking for
basic additive indentation pattern.
[Frederick Pietschmann](https://github.com/fredpi)
[#227](https://github.com/realm/SwiftLint/issues/227)

* Speed up syntax token lookups, which can improve performance when
linting large files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public struct IndentationWidthRule: ConfigurationProviderRule, OptInRule {
public init() {}

// MARK: - Methods: Validation
public func validate(file: File) -> [StyleViolation] { // swiftlint:disable:this function_body_length
public func validate(file: SwiftLintFile) -> [StyleViolation] { // swiftlint:disable:this function_body_length
var violations: [StyleViolation] = []
var previousLineIndentations: [Indentation] = []

Expand Down

0 comments on commit 7a628f2

Please # to comment.