diff --git a/tools/oss-check b/tools/oss-check index ee3d99f7a3..bf87490b99 100755 --- a/tools/oss-check +++ b/tools/oss-check @@ -142,6 +142,11 @@ def setup_repos perform("git clone #{repo.git_url} --depth 1 #{dir} 2> /dev/null") swiftlint_config = "#{dir}/.swiftlint.yml" FileUtils.rm_rf(swiftlint_config) + if repo.name == 'Wire' + File.open(swiftlint_config, 'w') do |file| + file.puts('excluded: wire-ios/Templates/Viper') + end + end if @only_rules_changed && @rules_changed File.open(swiftlint_config, 'w') do |file| file.puts('only_rules:')