mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: changed swiftlint rules for body and file length
This commit is contained in:
@@ -41,9 +41,9 @@ function_body_length:
|
||||
- 100
|
||||
|
||||
type_body_length:
|
||||
- 300
|
||||
- 400
|
||||
- 450
|
||||
- 600
|
||||
|
||||
file_length:
|
||||
- 800
|
||||
- 1000
|
||||
- 1200
|
||||
- 1600
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
//
|
||||
// Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved.
|
||||
//
|
||||
// swiftlint:disable file_length
|
||||
|
||||
import Cocoa
|
||||
import Kit
|
||||
|
||||
Reference in New Issue
Block a user