Skip to content

Added GitHub actions to perform lint actions #228

Added GitHub actions to perform lint actions

Added GitHub actions to perform lint actions #228

Triggered via pull request October 29, 2023 08:32
Status Failure
Total duration 2m 15s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 notices
prettier: .github/workflows/build.yml#L1
Incorrect formatting, autoformat by running 'trunk fmt'
check_build: example/lib/main.dart#L64
'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre. For more details, see https://dart.dev/tools/diagnostic-messages#deprecated_member_use
check_build: lib/src/enum/hms_Quality_limitation_reason.dart#L1
The file name 'hms_Quality_limitation_reason.dart' isn't a snake_case identifier. For more details, see https://dart.dev/tools/diagnostic-messages#file_names
check_build: lib/src/enum/hms_Quality_limitation_reason.dart#L2
The constant name 'BANDWIDTH' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names
check_build: lib/src/enum/hms_Quality_limitation_reason.dart#L4
The constant name 'CPU' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names
check_build: lib/src/enum/hms_Quality_limitation_reason.dart#L6
The constant name 'NONE' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names
check_build: lib/src/enum/hms_Quality_limitation_reason.dart#L8
The constant name 'OTHER' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names
check_build: lib/src/enum/hms_Quality_limitation_reason.dart#L10
The constant name 'UNKNOWN' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names
check_build: lib/src/enum/hms_audio_device.dart#L2
The constant name 'SPEAKER_PHONE' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names
check_build: lib/src/enum/hms_audio_device.dart#L3
The constant name 'WIRED_HEADSET' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names
check_build: lib/src/enum/hms_audio_device.dart#L4
The constant name 'EARPIECE' isn't a lowerCamelCase identifier. For more details, see https://dart.dev/tools/diagnostic-messages#constant_identifier_names