Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecor9 committed Aug 2, 2023
1 parent 01085d3 commit 4ead56e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ lane :lint_code_metrics do
end

flutter_command(command: "pub run dart_code_metrics:metrics check-unused-code lib --fatal-unused")
flutter_command(command: "pub run dart_code_metrics:metrics check-unused-files lib --fatal-unused --exclude=lib/gen/assets.gen.dart")
end


Expand Down
2 changes: 0 additions & 2 deletions scripts/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ echo "$result"
[[ $result == *'✔ no issues found!'* ]] || error "Linter error - Dart Code Metrics linter error"

fvm flutter pub run dart_code_metrics:metrics check-unused-code lib --fatal-unused || error "Linter error - Dart Code Metrics unused code error"

fvm flutter pub run dart_code_metrics:metrics check-unused-files lib --fatal-unused --exclude=lib/gen/assets.gen.dart || error "Linter error - Dart Code Metrics unused files error"

0 comments on commit 4ead56e

Please sign in to comment.