feat: Improve error messages #1567
Annotations
10 errors, 6 warnings, and 10 notices
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L180
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L188
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L196
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L204
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L212
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L220
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L228
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L236
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L244
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/test/src/theme/tokens/text_style_token_test.dart#L252
Try correcting the name to an existing type, or defining a type named 'TokenFieldAccessError'.
See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
|
Run Tests:
packages/mix/lib/src/attributes/border/border_dto.dart#L7
Try removing the import directive.
See https://dart.dev/diagnostics/unused_import to learn more about this problem.
|
Run Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Tests:
examples/todo_list/lib/pages/todo_list_page.dart#L70
Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check.
See https://dart.dev/diagnostics/use_build_context_synchronously to learn more about this problem.
|
Run Tests:
packages/mix/lib/src/attributes/border/border_dto.dart#L2
Try removing the import directive.
See https://dart.dev/diagnostics/unnecessary_import to learn more about this problem.
|
Run Tests:
packages/mix/lib/src/attributes/shadow/shadow_util.dart#L1
Try removing the import directive.
See https://dart.dev/diagnostics/unnecessary_import to learn more about this problem.
|
Run Tests:
packages/mix/test/src/specs/text/text_spec_test.dart#L333
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use_from_same_package to learn more about this problem.
|
Run Tests:
packages/mix_generator/lib/src/builders/utility_class_builder.dart#L60
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
|
Run Tests:
packages/mix_generator/lib/src/helpers/builder_utils.dart#L254
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
|
Run Tests:
packages/mix_generator/lib/src/helpers/field_info.dart#L118
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
|
Run Tests:
packages/mix_generator/lib/src/helpers/field_info.dart#L179
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
|
Run Tests:
packages/mix_generator/lib/src/helpers/helpers.dart#L17
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
|
Run Tests:
packages/mix_generator/lib/src/helpers/helpers.dart#L109
Try using a logging framework.
See https://dart.dev/diagnostics/avoid_print to learn more about this problem.
|
Loading