Skip to content

Commit

Permalink
fix: Removed package 'dart code metrics' (got deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrutalCoding committed Aug 27, 2023
1 parent 10b8862 commit a472314
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ frontend_task:
cd $WORKING_DIR
flutter analyze
flutter test
analyze_with_dart_code_metrics_script: |
cd $WORKING_DIR
flutter pub run dart_code_metrics:metrics check-unused-files lib test --exclude="{/**.g.dart,/**.freezed.dart}"
flutter pub run dart_code_metrics:metrics check-unused-code lib test --exclude="{/**.g.dart,/**.freezed.dart}"
format_with_dart_script: |
cd $WORKING_DIR
dart format -o none --set-exit-if-changed .
Expand Down
6 changes: 0 additions & 6 deletions lefthook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ pre-push:
root: "shady_ai_flutter/"
run: |
flutter analyze
flutter pub run dart_code_metrics:metrics analyze lib
flutter-check-unused:
root: shady_ai_flutter/
run: |
flutter pub run dart_code_metrics:metrics check-unused-files lib --exclude="{/**.g.dart,/**.freezed.dart}"
flutter pub run dart_code_metrics:metrics check-unused-code lib --exclude="{/**.g.dart,/**.freezed.dart}"
# Note: commit-msg hook takes a single parameter,
# the name of the file that holds the proposed commit log message.
Expand Down
1 change: 0 additions & 1 deletion shady_ai_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ dependencies:
# path: flutter_wasm

dev_dependencies:
dart_code_metrics: ^5.7.2
ffigen: ^7.2.10
flutter_launcher_icons: ^0.13.0
flutter_lints: ^2.0.1
Expand Down
1 change: 0 additions & 1 deletion shady_ai_server/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ dependencies:

dev_dependencies:
lints: ^2.0.0
dart_code_metrics: ^5.7.2
test: ^1.24.1

0 comments on commit a472314

Please sign in to comment.