Skip to content

Commit 844ab9d

Browse files
committed
Fixed line length
1 parent f56f9bc commit 844ab9d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Source/SwiftLintBuiltInRules/Rules/Style/IndentationWidthRule.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ struct IndentationWidthRule: OptInRule, CorrectableRule {
319319

320320
// Indentation is wrong, fix it
321321
let lastValidIndentation = previousLineIndentations[0]
322-
let correctIndentLevel = lastValidIndentation.spacesEquivalent(indentationWidth: configuration.indentationWidth)
322+
let correctIndentLevel = lastValidIndentation.spacesEquivalent(
323+
indentationWidth:configuration.indentationWidth)
323324
let shouldUseTabs = prefix.tabCount > 0
324325
let correctIndent = generateIndentation(spaceCount: correctIndentLevel, usesTabs: shouldUseTabs)
325326
let lineContent = String(line.content.dropFirst(indentationCharacterCount))

0 commit comments

Comments
 (0)