diff --git a/.swiftlint.yml b/.swiftlint.yml index d5d72769..6bcab726 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -41,7 +41,6 @@ only_rules: # - unused_closure_parameter - unused_control_flow_label - unused_enumerated # When the index or the item is not used, .enumerated() can be removed. - - unused_optional_binding # Prefer != nil over let _ = - unused_setter_value - weak_delegate # Delegates should be weak to avoid reference cycles diff --git a/format.sh b/format.sh index 0bcd7345..04acdbbc 100755 --- a/format.sh +++ b/format.sh @@ -18,4 +18,4 @@ if test $check_uncommitted_files -eq 1; then ./script/check-uncommitted-files.sh if test $check_uncommitted_files -eq 1; then ./script/check-uncommitted-files.sh; fi ./script/install-dep.sh --swiftlint -./.deps/swiftlint/swiftlint lint --quiet --fix +./.deps/swiftlint/swiftlint lint --quiet