Resync swiftformat (#148)

This commit is contained in:
Paul Beusterien authored and GitHub committed 2024-08-23 10:23:08 -04:00
1 parent fa012de3b4
commit 1352cc07aa
12 files changed
+25 -14

No files matched your search

-3
View File
@@ -2,9 +2,6 @@ name: check
on:
pull_request:
paths:
- '.github/workflows/check.yml'
- 'GoogleDataTransport**'
push:
branches: main
+14
View File
@@ -0,0 +1,14 @@
# Formatting Options - Mimic Google style
--indent 2
--maxwidth 100
--wrapparameters afterfirst
# Disabled Rules
# Too many of our swift files have simplistic examples. While technically
# it's correct to remove the unused argument labels, it makes our examples
# look wrong.
--disable unusedArguments
# We prefer trailing braces.
--disable wrapMultilineStatementBraces
@@ -14,8 +14,8 @@
* limitations under the License.
*/
import Foundation
import Dispatch
import Foundation
import GoogleDataTransport
public extension ViewController {
@@ -14,9 +14,9 @@
* limitations under the License.
*/
import UserNotifications
import FirebaseMessaging
import GoogleDataTransport
import UserNotifications
class NotificationService: UNNotificationServiceExtension {
var contentHandler: ((UNNotificationContent) -> Void)?
@@ -14,9 +14,9 @@
* limitations under the License.
*/
import WatchKit
import Foundation
import GoogleDataTransport
import WatchKit
class InterfaceController: WKInterfaceController {
var transport = GDTCORTransport(mappingID: "1018", transformers: nil, target: GDTCORTarget.FLL)!
@@ -14,9 +14,9 @@
* limitations under the License.
*/
import WatchKit
import Foundation
import UserNotifications
import WatchKit
class NotificationController: WKUserNotificationInterfaceController {
override init() {
@@ -14,9 +14,9 @@
* limitations under the License.
*/
import WatchKit
import Foundation
import GoogleDataTransport
import WatchKit
class InterfaceController: WKInterfaceController {
var transport = GDTCORTransport(mappingID: "1018", transformers: nil, target: GDTCORTarget.FLL)!
@@ -14,9 +14,9 @@
* limitations under the License.
*/
import WatchKit
import Foundation
import UserNotifications
import WatchKit
class NotificationController: WKUserNotificationInterfaceController {
override init() {
@@ -14,8 +14,8 @@
* limitations under the License.
*/
import Foundation
import Dispatch
import Foundation
import GoogleDataTransport
public extension ViewController {
@@ -14,9 +14,9 @@
* limitations under the License.
*/
import WatchKit
import Foundation
import Dispatch
import Foundation
import WatchKit
import GoogleDataTransport
@@ -14,9 +14,9 @@
* limitations under the License.
*/
import WatchKit
import Foundation
import UserNotifications
import WatchKit
class NotificationController: WKUserNotificationInterfaceController {
override init() {
+1 -1
View File
@@ -1 +1 @@
nicklockwood/SwiftFormat@0.49.2
nicklockwood/SwiftFormat@0.54.0