Skip to content

Commit

Permalink
๐Ÿ› ๏ธ :: Lint ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
HongSJae committed Apr 3, 2024
1 parent c2b9f25 commit a106d57
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 22 deletions.
Empty file added Projects/.swiftlint.yml
Empty file.
2 changes: 0 additions & 2 deletions Projects/Data/Sources/DI/RepositoryAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Domain
public final class RepositoryAssembly: Assembly {
public init() {}

// swiftlint:disable function_body_length
public func assemble(container: Container) {
container.register(AuthRepository.self) { resolver in
AuthRepositoryImpl(remoteAuthDataSource: resolver.resolve(RemoteAuthDataSource.self)!)
Expand Down Expand Up @@ -95,5 +94,4 @@ public final class RepositoryAssembly: Assembly {
)
}
}
// swiftlint:enable function_body_length
}
2 changes: 0 additions & 2 deletions Projects/Data/Sources/DI/UseCaseAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Domain
public final class UseCaseAssembly: Assembly {
public init() {}

// swiftlint:disable function_body_length
public func assemble(container: Container) {
// Auth
container.register(SendAuthCodeUseCase.self) { resolver in
Expand Down Expand Up @@ -230,5 +229,4 @@ public final class UseCaseAssembly: Assembly {
)
}
}
// swiftlint:enable function_body_length
}
12 changes: 0 additions & 12 deletions Projects/Data/Sources/DTO/Notice/NoticeDetailResponseDTO.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ struct NoticeDetailResponseDTO: Decodable {
let createdAt: String
let attachments: [AttachmentsResponseDTO]

init(
title: String,
content: String,
createdAt: String,
attachments: [AttachmentsResponseDTO]
) {
self.title = title
self.content = content
self.createdAt = createdAt
self.attachments = attachments
}

enum CodingKeys: String, CodingKey {
case title
case content
Expand Down
4 changes: 2 additions & 2 deletions Projects/Flow/Sources/AppFlow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ private extension AppFlow {
)
)
}

func navigationToTabs() -> FlowContributors {
let tabsFlow = TabsFlow(container: container)

Flows.use(tabsFlow, when: .created) { (root) in
UIView.transition(
with: self.window,
Expand Down
2 changes: 0 additions & 2 deletions Projects/Modules/DesignSystem/Sources/Image/JobisIcon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public enum JobisIcon {
case link
case close

// swiftlint: disable cyclomatic_complexity function_body_length
func uiImage() -> UIImage {
let dsIcons = DesignSystemAsset.Icons.self

Expand Down Expand Up @@ -147,5 +146,4 @@ public enum JobisIcon {
return dsIcons.close.image
}
}
// swiftlint: enable cyclomatic_complexity function_body_length
}
2 changes: 0 additions & 2 deletions Projects/Presentation/Sources/DI/PresentationAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Domain
public final class PresentationAssembly: Assembly {
public init() {}

// swiftlint:disable function_body_length
public func assemble(container: Container) {
container.register(HomeViewController.self) { resolver in
HomeViewController(resolver.resolve(HomeViewModel.self)!)
Expand Down Expand Up @@ -244,5 +243,4 @@ public final class PresentationAssembly: Assembly {
)
}
}
// swiftlint:enable function_body_length
}

0 comments on commit a106d57

Please sign in to comment.