Skip to content

Commit

Permalink
Remove deprecated inert_defer rule entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny committed Dec 9, 2024
1 parent eff0c9e commit 3ecb2fd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 125 deletions.
1 change: 0 additions & 1 deletion Source/SwiftLintBuiltInRules/Models/BuiltInRules.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public let builtInRules: [any Rule.Type] = [
ImplicitlyUnwrappedOptionalRule.self,
InclusiveLanguageRule.self,
IndentationWidthRule.self,
InertDeferRule.self,
InvalidSwiftLintCommandRule.self,
IsDisjointRule.self,
JoinedDefaultParameterRule.self,
Expand Down
116 changes: 0 additions & 116 deletions Source/SwiftLintBuiltInRules/Rules/Lint/InertDeferRule.swift

This file was deleted.

6 changes: 0 additions & 6 deletions Tests/GeneratedTests/GeneratedTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -541,12 +541,6 @@ final class IndentationWidthRuleGeneratedTests: SwiftLintTestCase {
}
}

final class InertDeferRuleGeneratedTests: SwiftLintTestCase {
func testWithDefaultConfiguration() {
verifyRule(InertDeferRule.description)
}
}

final class InvalidSwiftLintCommandRuleGeneratedTests: SwiftLintTestCase {
func testWithDefaultConfiguration() {
verifyRule(InvalidSwiftLintCommandRule.description)
Expand Down
2 changes: 0 additions & 2 deletions Tests/IntegrationTests/default_rule_configurations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ indentation_width:
include_comments: true
include_compiler_directives: true
include_multiline_strings: true
inert_defer:
severity: warning
invalid_swiftlint_command:
severity: warning
is_disjoint:
Expand Down

0 comments on commit 3ecb2fd

Please sign in to comment.