From 5831aff7ff94a7392ffd83625428acc99898d2a3 Mon Sep 17 00:00:00 2001 From: masakih Date: Sun, 12 Mar 2017 21:45:41 +0900 Subject: [PATCH] =?utf8?q?swiftlint=20'trailing=5Fnewline'=20=E3=81=AE?= =?utf8?q?=E8=AD=A6=E5=91=8A=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .swiftlint.yml | 3 --- KCD/CollectionView.swift | 1 - KCD/CustomHTTPProtocol.swift | 1 - KCD/EnhancementListItem.swift | 1 - KCD/Entity.swift | 1 - KCD/ExternalBrowserWindowController.swift | 1 - KCD/JSONMapper.swift | 3 --- KCD/JSONViewWindowController.swift | 1 - KCD/MemberShip2Command.swift | 1 - KCD/ShipMasterDetailWindowController.swift | 1 - KCD/SlotItemEquipTypeTransformer.swift | 1 - 11 files changed, 15 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index fb816483..4398f2ff 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,8 +1,6 @@ disabled_rules: - variable_name - - closing_brace - - control_statement - shorthand_operator - force_cast - force_try @@ -22,7 +20,6 @@ disabled_rules: - return_arrow_whitespace - statement_position - todo - - trailing_newline - trailing_semicolon - trailing_whitespace diff --git a/KCD/CollectionView.swift b/KCD/CollectionView.swift index 5f8076b6..d449b686 100644 --- a/KCD/CollectionView.swift +++ b/KCD/CollectionView.swift @@ -119,4 +119,3 @@ extension CollectionView: QLPreviewPanelDataSource, QLPreviewPanelDelegate { return window?.convertToScreen(byWindow) ?? .zero } } - diff --git a/KCD/CustomHTTPProtocol.swift b/KCD/CustomHTTPProtocol.swift index bce2ec3e..61affaf9 100644 --- a/KCD/CustomHTTPProtocol.swift +++ b/KCD/CustomHTTPProtocol.swift @@ -195,4 +195,3 @@ extension HTTPURLResponse { return nil } } - diff --git a/KCD/EnhancementListItem.swift b/KCD/EnhancementListItem.swift index 357ae4e2..062c79f8 100644 --- a/KCD/EnhancementListItem.swift +++ b/KCD/EnhancementListItem.swift @@ -257,4 +257,3 @@ extension RequiredEquipment { return "\(number)" } } - diff --git a/KCD/Entity.swift b/KCD/Entity.swift index 9378946b..423bd559 100644 --- a/KCD/Entity.swift +++ b/KCD/Entity.swift @@ -71,4 +71,3 @@ extension Bookmark: EntityProvider {} // MARK: - ResourceHistory model extension Resource: EntityProvider {} - diff --git a/KCD/ExternalBrowserWindowController.swift b/KCD/ExternalBrowserWindowController.swift index 04d16a1a..22437585 100644 --- a/KCD/ExternalBrowserWindowController.swift +++ b/KCD/ExternalBrowserWindowController.swift @@ -324,4 +324,3 @@ extension ExternalBrowserWindowController: WebFrameLoadDelegate, WebPolicyDelega listener.use() } } - diff --git a/KCD/JSONMapper.swift b/KCD/JSONMapper.swift index aa380e32..7d625cd3 100644 --- a/KCD/JSONMapper.swift +++ b/KCD/JSONMapper.swift @@ -142,6 +142,3 @@ extension JSONMapper { } func finishOperating() {} } - - - diff --git a/KCD/JSONViewWindowController.swift b/KCD/JSONViewWindowController.swift index 51613f0f..3c3bd3fd 100644 --- a/KCD/JSONViewWindowController.swift +++ b/KCD/JSONViewWindowController.swift @@ -50,4 +50,3 @@ class JSONViewWindowController: NSWindowController { didChangeValue(forKey: "commands") } } - diff --git a/KCD/MemberShip2Command.swift b/KCD/MemberShip2Command.swift index d09aefb6..405f488d 100644 --- a/KCD/MemberShip2Command.swift +++ b/KCD/MemberShip2Command.swift @@ -19,4 +19,3 @@ class MemberShip2Command: JSONCommand { DeckMapper(apiResponse).commit() } } - diff --git a/KCD/ShipMasterDetailWindowController.swift b/KCD/ShipMasterDetailWindowController.swift index 4441fd46..d785a4b6 100644 --- a/KCD/ShipMasterDetailWindowController.swift +++ b/KCD/ShipMasterDetailWindowController.swift @@ -72,4 +72,3 @@ extension ShipMasterDetailWindowController: NSTableViewDelegate { selectedShip = selectedObjects[0] } } - diff --git a/KCD/SlotItemEquipTypeTransformer.swift b/KCD/SlotItemEquipTypeTransformer.swift index d7f06890..08d00369 100644 --- a/KCD/SlotItemEquipTypeTransformer.swift +++ b/KCD/SlotItemEquipTypeTransformer.swift @@ -18,4 +18,3 @@ class SlotItemEquipTypeTransformer: ValueTransformer { return ServerDataStore.default.masterSlotItemEquipType(by: id)?.name } } - -- 2.11.0