diff --git a/SynchronyFinancial/Podfile.lock b/SynchronyFinancial/Podfile.lock index d10e16b..92ee303 100644 --- a/SynchronyFinancial/Podfile.lock +++ b/SynchronyFinancial/Podfile.lock @@ -1,3 +1,16 @@ -PODFILE CHECKSUM: f44dd0f838ce6fa6c8b393964951c4516d14d627 +PODS: + - SwiftLint (0.27.0) + +DEPENDENCIES: + - SwiftLint + +SPEC REPOS: + https://github.com/cocoapods/specs.git: + - SwiftLint + +SPEC CHECKSUMS: + SwiftLint: 3207c1faa2240bf8973b191820a116113cd11073 + +PODFILE CHECKSUM: 4677f0f790934708825f5fcde561667ebefd2df5 COCOAPODS: 1.5.3 diff --git a/SynchronyFinancial/Pods/Manifest.lock b/SynchronyFinancial/Pods/Manifest.lock index d10e16b..92ee303 100644 --- a/SynchronyFinancial/Pods/Manifest.lock +++ b/SynchronyFinancial/Pods/Manifest.lock @@ -1,3 +1,16 @@ -PODFILE CHECKSUM: f44dd0f838ce6fa6c8b393964951c4516d14d627 +PODS: + - SwiftLint (0.27.0) + +DEPENDENCIES: + - SwiftLint + +SPEC REPOS: + https://github.com/cocoapods/specs.git: + - SwiftLint + +SPEC CHECKSUMS: + SwiftLint: 3207c1faa2240bf8973b191820a116113cd11073 + +PODFILE CHECKSUM: 4677f0f790934708825f5fcde561667ebefd2df5 COCOAPODS: 1.5.3 diff --git a/SynchronyFinancial/Pods/Pods.xcodeproj/project.pbxproj b/SynchronyFinancial/Pods/Pods.xcodeproj/project.pbxproj index 61120f2..eb075d3 100644 --- a/SynchronyFinancial/Pods/Pods.xcodeproj/project.pbxproj +++ b/SynchronyFinancial/Pods/Pods.xcodeproj/project.pbxproj @@ -72,6 +72,14 @@ name = Frameworks; sourceTree = ""; }; + 32A23E08346748F1793F899C5FF672C1 /* SwiftLint */ = { + isa = PBXGroup; + children = ( + ); + name = SwiftLint; + path = SwiftLint; + sourceTree = ""; + }; 4F22BAC439AC97E35AA370FF03BF9540 /* Pods-SynchronyFinancial WatchKit Extension */ = { isa = PBXGroup; children = ( @@ -92,11 +100,20 @@ children = ( 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 0F8D2E47FE03D3B91B51069F7C273AF4 /* Frameworks */, + 9758CC519AE2C57A9659FFC01AAD26F9 /* Pods */, F36EDCFBD2119ED70FBA19701BF6B4C1 /* Products */, EB1AF7AA8216950CB58580C1F1B90CCC /* Targets Support Files */, ); sourceTree = ""; }; + 9758CC519AE2C57A9659FFC01AAD26F9 /* Pods */ = { + isa = PBXGroup; + children = ( + 32A23E08346748F1793F899C5FF672C1 /* SwiftLint */, + ); + name = Pods; + sourceTree = ""; + }; A70A2C65372B1E1C1D5A8080A9B38845 /* Pods-SynchronyFinancial */ = { isa = PBXGroup; children = ( @@ -302,45 +319,46 @@ }; name = Release; }; - 5AB7AC58FF902F8526D3B66AFCBB77A6 /* Debug */ = { + 52D0887D5BABF294BE8CB7D96E8721C3 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A9B5D092ECDBAB4F9C04EF1C1102C7FD /* Pods-SynchronyFinancial.debug.xcconfig */; + baseConfigurationReference = A7709832E45752BA1DB6E6DD56492533 /* Pods-SynchronyFinancial WatchKit Extension.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = "iPhone Developer"; + APPLICATION_EXTENSION_API_ONLY = YES; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; MACH_O_TYPE = staticlib; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - SDKROOT = iphoneos; + SDKROOT = watchos; SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 2.0; }; name = Debug; }; - 6483557454800D86FEA74EDF4392775A /* Debug */ = { + 5AB7AC58FF902F8526D3B66AFCBB77A6 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A7709832E45752BA1DB6E6DD56492533 /* Pods-SynchronyFinancial WatchKit Extension.debug.xcconfig */; + baseConfigurationReference = A9B5D092ECDBAB4F9C04EF1C1102C7FD /* Pods-SynchronyFinancial.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MACH_O_TYPE = staticlib; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - SDKROOT = watchos; + SDKROOT = iphoneos; SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; @@ -517,11 +535,12 @@ }; name = Release; }; - C85FA1B20801D53DB86E04DB6954A4AD /* Release */ = { + C315109CA0EE7EAF8EDEA70D28B01FA1 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 57E684B1EF7582F71059B34345C49933 /* Pods-SynchronyFinancial WatchKit Extension.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + APPLICATION_EXTENSION_API_ONLY = YES; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -553,8 +572,8 @@ 7ED3A90A9B63085342B6E68F113EBB1C /* Build configuration list for PBXNativeTarget "Pods-SynchronyFinancial WatchKit Extension" */ = { isa = XCConfigurationList; buildConfigurations = ( - 6483557454800D86FEA74EDF4392775A /* Debug */, - C85FA1B20801D53DB86E04DB6954A4AD /* Release */, + 52D0887D5BABF294BE8CB7D96E8721C3 /* Debug */, + C315109CA0EE7EAF8EDEA70D28B01FA1 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/SynchronyFinancial/Pods/SwiftLint/LICENSE b/SynchronyFinancial/Pods/SwiftLint/LICENSE new file mode 100644 index 0000000..a029e45 --- /dev/null +++ b/SynchronyFinancial/Pods/SwiftLint/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Realm Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/SynchronyFinancial/Pods/SwiftLint/swiftlint b/SynchronyFinancial/Pods/SwiftLint/swiftlint new file mode 100755 index 0000000..096b9f8 Binary files /dev/null and b/SynchronyFinancial/Pods/SwiftLint/swiftlint differ diff --git a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.markdown b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.markdown index 102af75..d8c5fed 100644 --- a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.markdown +++ b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.markdown @@ -1,3 +1,28 @@ # Acknowledgements This application makes use of the following third party libraries: + +## SwiftLint + +The MIT License (MIT) + +Copyright (c) 2015 Realm Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + Generated by CocoaPods - https://cocoapods.org diff --git a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.plist b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.plist index 7acbad1..88fb231 100644 --- a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.plist +++ b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit App/Pods-SynchronyFinancial WatchKit App-acknowledgements.plist @@ -12,6 +12,37 @@ Type PSGroupSpecifier + + FooterText + The MIT License (MIT) + +Copyright (c) 2015 Realm Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + License + MIT + Title + SwiftLint + Type + PSGroupSpecifier + FooterText Generated by CocoaPods - https://cocoapods.org diff --git a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.markdown b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.markdown index 102af75..d8c5fed 100644 --- a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.markdown +++ b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.markdown @@ -1,3 +1,28 @@ # Acknowledgements This application makes use of the following third party libraries: + +## SwiftLint + +The MIT License (MIT) + +Copyright (c) 2015 Realm Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + Generated by CocoaPods - https://cocoapods.org diff --git a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.plist b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.plist index 7acbad1..88fb231 100644 --- a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.plist +++ b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial WatchKit Extension/Pods-SynchronyFinancial WatchKit Extension-acknowledgements.plist @@ -12,6 +12,37 @@ Type PSGroupSpecifier + + FooterText + The MIT License (MIT) + +Copyright (c) 2015 Realm Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + License + MIT + Title + SwiftLint + Type + PSGroupSpecifier + FooterText Generated by CocoaPods - https://cocoapods.org diff --git a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.markdown b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.markdown index 102af75..d8c5fed 100644 --- a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.markdown +++ b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.markdown @@ -1,3 +1,28 @@ # Acknowledgements This application makes use of the following third party libraries: + +## SwiftLint + +The MIT License (MIT) + +Copyright (c) 2015 Realm Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + Generated by CocoaPods - https://cocoapods.org diff --git a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.plist b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.plist index 7acbad1..88fb231 100644 --- a/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.plist +++ b/SynchronyFinancial/Pods/Target Support Files/Pods-SynchronyFinancial/Pods-SynchronyFinancial-acknowledgements.plist @@ -12,6 +12,37 @@ Type PSGroupSpecifier + + FooterText + The MIT License (MIT) + +Copyright (c) 2015 Realm Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + License + MIT + Title + SwiftLint + Type + PSGroupSpecifier + FooterText Generated by CocoaPods - https://cocoapods.org diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/ExtensionDelegate.swift b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/ExtensionDelegate.swift index eed655b..f573484 100644 --- a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/ExtensionDelegate.swift +++ b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/ExtensionDelegate.swift @@ -8,6 +8,7 @@ import WatchKit +//swiftlint:disable line_length class ExtensionDelegate: NSObject, WKExtensionDelegate { func applicationDidFinishLaunching() { diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/MainMenuInterfaceController.swift b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/MainMenuInterfaceController.swift index de0e471..e9c9906 100644 --- a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/MainMenuInterfaceController.swift +++ b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/MainMenuInterfaceController.swift @@ -15,7 +15,7 @@ class MainMenuInterfaceController: WKInterfaceController { override func awake(withContext context: Any?) { super.awake(withContext: context) - + // Configure interface objects here. } diff --git a/SynchronyFinancial/SynchronyFinancial.xcodeproj/project.pbxproj b/SynchronyFinancial/SynchronyFinancial.xcodeproj/project.pbxproj index 7d91588..9d5f11e 100644 --- a/SynchronyFinancial/SynchronyFinancial.xcodeproj/project.pbxproj +++ b/SynchronyFinancial/SynchronyFinancial.xcodeproj/project.pbxproj @@ -218,6 +218,7 @@ 67BAC262219E254700713FEF /* Frameworks */, 67BAC263219E254700713FEF /* Resources */, 67BAC29E219E254900713FEF /* Embed Watch Content */, + 678C388222308FAE00FEAAF6 /* ShellScript */, ); buildRules = ( ); @@ -338,6 +339,23 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 678C388222308FAE00FEAAF6 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; + }; 8296C0B29C811A0924C6F5B6 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/SynchronyFinancial/SynchronyFinancial/AppDelegate.swift b/SynchronyFinancial/SynchronyFinancial/AppDelegate.swift index aa0f4af..4122478 100644 --- a/SynchronyFinancial/SynchronyFinancial/AppDelegate.swift +++ b/SynchronyFinancial/SynchronyFinancial/AppDelegate.swift @@ -8,12 +8,12 @@ import UIKit +//swiftlint:disable line_length @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true @@ -40,7 +40,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func applicationWillTerminate(_ application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } - - } - diff --git a/SynchronyFinancial/podfile b/SynchronyFinancial/podfile index 65ceb93..6fe4c59 100644 --- a/SynchronyFinancial/podfile +++ b/SynchronyFinancial/podfile @@ -2,12 +2,15 @@ source 'https://github.com/CocoaPods/Specs.git' target 'SynchronyFinancial' do platform :ios, '10.0' + pod 'SwiftLint' end target 'SynchronyFinancial WatchKit App' do platform :watchos, '2.0' + pod 'SwiftLint' end target 'SynchronyFinancial WatchKit Extension' do platform :watchos, '2.0' + pod 'SwiftLint' end