Skip to content

Commit

Permalink
FIX: lint 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
devMinseok committed Jul 20, 2024
1 parent d09ef03 commit 5a7cef5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Projects/Core/APIClient/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let project: Project = .makeTMABasedProject(
dependencies: [
.sources: [],
.interface: [
.dependency(rootModule: Shared.self),
.dependency(rootModule: Shared.self)
]
]
)
2 changes: 1 addition & 1 deletion Projects/Core/KeychainClient/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let project: Project = .makeTMABasedProject(
dependencies: [
.sources: [],
.interface: [
.dependency(rootModule: Shared.self),
.dependency(rootModule: Shared.self)
]
]
)
6 changes: 2 additions & 4 deletions Projects/Core/KeychainClient/Sources/implementation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,8 @@ private var serviceId: String = {
".imessageappextension"
]

for suffix in applicationExtensionSuffixs {
if currentMainBundleId.hasSuffix(suffix) {
return String(currentMainBundleId.dropLast(suffix.count))
}
for suffix in applicationExtensionSuffixs where currentMainBundleId.hasSuffix(suffix) {
return String(currentMainBundleId.dropLast(suffix.count))
}

return currentMainBundleId
Expand Down
3 changes: 2 additions & 1 deletion Projects/Core/KeychainClient/Tests/Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ final class Tests: XCTestCase {
override func setUp() {
withDependencies {
$0.keychainClient = .mock
} operation: {}
} operation: {
}
super.setUp()
}

Expand Down
2 changes: 1 addition & 1 deletion Projects/Domain/AppService/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let project: Project = .makeTMABasedProject(
dependencies: [
.sources: [],
.interface: [
.dependency(rootModule: Core.self),
.dependency(rootModule: Core.self)
]
]
)
2 changes: 1 addition & 1 deletion Projects/Feature/AppFeature/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let project: Project = .makeTMABasedProject(
dependencies: [
.sources: [],
.interface: [
.dependency(rootModule: Domain.self),
.dependency(rootModule: Domain.self)
]
]
)
9 changes: 0 additions & 9 deletions SwiftLint/swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ disabled_rules:
- unused_capture_list
- nesting
- function_body_length
# need to fix rule
- identifier_name
- type_body_length
- empty_count
- cyclomatic_complexity
- type_name
- function_parameter_count
- attributes
- multiple_closures_with_trailing_closure

opt_in_rules:
- closure_end_indentation
Expand Down

0 comments on commit 5a7cef5

Please sign in to comment.