You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
flutter pub run dart_code_metrics:metrics check-unused-code --exclude={/**.g.dart,/**.freezed.dart,/**injectable.dart,/localization/**.dart} lib
What did you expect to happen?
Exclude to make the script ignore files matched by the patterns I specified.
What actually happened?
Script reported warnings about files that were supposed to be ignored.
✔ Analysis is completed. Preparing the results: 5.1s
lib/localization/intl/messages_en.dart:
⚠ unused type alias MessageIfAbsent
at /Users/x/y/lib/localization/intl/messages_en.dart:18:1
lib/src/di/injectable.dart:
⚠ unused function configureInjection
at /Users/x/y/lib/src/di/injectable.dart:6:1
lib/src/domain/value_failure.freezed.dart:
⚠ unused function _$identity
at /Users/x/y/lib/src/domain/value_failure.freezed.dart:12:1
lib/src/infrastructure/merge/handle_link/handle_link_web.dart:
⚠ unused function handleLink
at /Users/x/y/lib/src/infrastructure/merge/handle_link/handle_link_web.dart:8:1
✖ total unused code (classes, functions, variables, extensions, enums, mixins and type aliases) - 4
Participation
I am willing to submit a pull request for this issue.
Additional comments
No response
The text was updated successfully, but these errors were encountered:
Environment and configuration
DCM version: 5.7.4
Dart SDK version: 3.0.1
What did you do?
What did you expect to happen?
Exclude to make the script ignore files matched by the patterns I specified.
What actually happened?
Script reported warnings about files that were supposed to be ignored.
✔ Analysis is completed. Preparing the results: 5.1s
lib/localization/intl/messages_en.dart:
⚠ unused type alias MessageIfAbsent
at /Users/x/y/lib/localization/intl/messages_en.dart:18:1
lib/src/di/injectable.dart:
⚠ unused function configureInjection
at /Users/x/y/lib/src/di/injectable.dart:6:1
lib/src/domain/value_failure.freezed.dart:
⚠ unused function _$identity
at /Users/x/y/lib/src/domain/value_failure.freezed.dart:12:1
lib/src/infrastructure/merge/handle_link/handle_link_web.dart:
⚠ unused function handleLink
at /Users/x/y/lib/src/infrastructure/merge/handle_link/handle_link_web.dart:8:1
✖ total unused code (classes, functions, variables, extensions, enums, mixins and type aliases) - 4
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: