Răsfoiți Sursa

Remove swiftlint in CI too

onevcat 9 ani în urmă
părinte
comite
e5d9f1df0f
2 a modificat fișierele cu 0 adăugiri și 19 ștergeri
  1. 0 10
      .swiftlint.yml
  2. 0 9
      fastlane/Fastfile

+ 0 - 10
.swiftlint.yml

@@ -1,10 +0,0 @@
-disabled_rules:
-  - trailing_whitespace
-  - line_length
-  - variable_name
-  - file_length
-  - function_body_length
-  - opening_brace
-  - type_body_length
-  - valid_docs
-  - function_parameter_count

+ 0 - 9
fastlane/Fastfile

@@ -15,13 +15,6 @@ platform :ios do
     scan(scheme: "Kingfisher-tvOS", clean: true)
   end
   
-  desc "Swift Lint"
-  lane :upgrade_swift_lint do
-      Actions.sh("brew update")
-      Actions.sh("brew remove swiftlint")
-      Actions.sh("brew install swiftlint")
-  end
-  
   desc "Build for Carthage"
   lane :carthage_lint do
       Actions.sh("cd .. && carthage build --no-skip-current && cd fastlane")
@@ -43,8 +36,6 @@ platform :ios do
       target_version = options[:version]
       raise "The version is missed. Use `fastlane release version:{version_number}`.`" if target_version.nil?
 
-      upgrade_swift_lint
-
       ensure_git_branch
       ensure_git_status_clean