diff --git a/.swiftlint.yml b/.swiftlint.yml index d4f4f93b..6a730adf 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -41,9 +41,9 @@ function_body_length: - 100 type_body_length: - - 300 - - 400 + - 450 + - 600 file_length: - - 800 - - 1000 \ No newline at end of file + - 1200 + - 1600 \ No newline at end of file diff --git a/Kit/Widgets/Battery.swift b/Kit/Widgets/Battery.swift index a4ad1ddc..f8470b85 100644 --- a/Kit/Widgets/Battery.swift +++ b/Kit/Widgets/Battery.swift @@ -8,7 +8,7 @@ // // Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved. // -// swiftlint:disable function_body_length type_body_length +// swiftlint:disable function_body_length import Cocoa diff --git a/Modules/Net/popup.swift b/Modules/Net/popup.swift index 0464a959..57a79f3f 100644 --- a/Modules/Net/popup.swift +++ b/Modules/Net/popup.swift @@ -12,7 +12,6 @@ import Cocoa import Kit -// swiftlint:disable type_body_length internal class Popup: NSStackView, Popup_p { public var sizeCallback: ((NSSize) -> Void)? = nil diff --git a/Modules/Sensors/popup.swift b/Modules/Sensors/popup.swift index 5f2965aa..1510d458 100644 --- a/Modules/Sensors/popup.swift +++ b/Modules/Sensors/popup.swift @@ -8,7 +8,6 @@ // // Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved. // -// swiftlint:disable file_length import Cocoa import Kit