diff --git a/.gitignore b/.gitignore index 7cc39ae5..2ac6dbc1 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,8 @@ xcuserdata *.ipa # CocoaPods -Pods/ +Example/Pods/* +!Example/Pods/SwiftLint # Carthage Carthage diff --git a/Dangerfile b/Dangerfile index 3ef010fc..5d75a108 100644 --- a/Dangerfile +++ b/Dangerfile @@ -46,4 +46,5 @@ if git.lines_of_code > 1000 end swiftlint.config_file = '.swiftlint.yml' +swiftlint.binary_path = 'Example/Pods/SwiftLint/swiftlint' swiftlint.lint_files inline_mode:true, fail_on_error:true diff --git a/Example/Pods/SwiftLint/LICENSE b/Example/Pods/SwiftLint/LICENSE new file mode 100644 index 00000000..04203762 --- /dev/null +++ b/Example/Pods/SwiftLint/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 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/Example/Pods/SwiftLint/swiftlint b/Example/Pods/SwiftLint/swiftlint new file mode 100755 index 00000000..4213e411 Binary files /dev/null and b/Example/Pods/SwiftLint/swiftlint differ