Skip to content

Commit

Permalink
[Chore] SwiftLint 룰 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gnksbm committed Jan 22, 2024
1 parent cce2f60 commit bf78481
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 70 deletions.
17 changes: 2 additions & 15 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ identifier_name:
error: 3
excluded: # 제외할 문자열 목록
- f
- ws
- my
function_body_length:
warning: 150
error: 300
Expand All @@ -30,18 +28,7 @@ line_length:
error: 400
disabled_rules: # 제외하고 싶은 룰
- trailing_whitespace
- type_name
- trailing_comma
# - conditional_returns_on_newline
# - identifier_name
# - nesting
# - colon
# - control_statement
# - vertical_parameter_alignment
# - cyclomatic_complexity
# - void_function_in_ternary
# - comment_spacing
# - function_parameter_count
- type_name # 타입명에 _가 들어가면 경고
- trailing_comma # 배열 마지막 아이템에 ,가 붙으면 경고
opt_in_rules:
- empty_string
# - conditional_returns_on_newline
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ public extension [String: InfoPlist.Value] {
static let secrets: Self = [
"SERVER_KEY": "$(SERVER_KEY)"
]

static let additionalInfoPlist: Self = [
"ITSAppUsesNonExemptEncryption": "NO",
"NSAppTransportSecurity": [
"NSExceptionDomains": [
"ws.bus.go.kr": [
"NSIncludesSubdomains": true,
"NSExceptionAllowsInsecureHTTPLoads": true,
"NSTemporaryExceptionAllowsInsecureWebSocketLoads": true
]
]
]
Expand Down

This file was deleted.

33 changes: 0 additions & 33 deletions Projects/DesignSystem/Resources/Base.lproj/LaunchScreen.storyboard

This file was deleted.

2 changes: 1 addition & 1 deletion Projects/Networks/Sources/EndPoint/EndPoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public protocol EndPoint {
}

public enum Scheme: String {
case http, https, ws
case http, https
}

extension EndPoint {
Expand Down

0 comments on commit bf78481

Please sign in to comment.