This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
chore: update l10n #401
ci.yml
on: push
Test
2m 5s
Build for Android
0s
Build for Windows
0s
Build for Web
0s
Annotations
1 error and 10 notices
Test
Process completed with exit code 1.
|
Unnecessary use of single quotes.:
src/kaiteki/lib/app.dart#L71
Try using double quotes unless the string contains double quotes.
See https://dart.dev/lints/prefer_double_quotes to learn more about this problem.
|
The declaration '_accountManagerSubscription' isn't referenced.:
src/kaiteki/lib/main.dart#L21
Try removing the declaration of '_accountManagerSubscription'.
See https://dart.dev/diagnostics/unused_element to learn more about this problem.
|
Use the constant 'TextElementStyle.kMonospace' rather than a constructor returning the same object.:
src/kaiteki/lib/text/parsers/mfm_text_parser.dart#L70
Try using 'TextElementStyle.kMonospace'.
See https://dart.dev/lints/use_named_constants to learn more about this problem.
|
Missing a required trailing comma.:
src/kaiteki/lib/text/parsers/social_text_parser.dart#L27
See https://dart.dev/lints/require_trailing_commas to learn more about this problem.
|
Sort directive sections alphabetically.:
src/kaiteki/lib/text/text_renderer.dart#L10
Try sorting the directives.
See https://dart.dev/lints/directives_ordering to learn more about this problem.
|
Missing a required trailing comma.:
src/kaiteki/lib/text/text_renderer.dart#L186
See https://dart.dev/lints/require_trailing_commas to learn more about this problem.
|
Use 'const' with the constructor to improve performance.:
src/kaiteki/lib/ui/account/settings_screen.dart#L120
Try adding the 'const' keyword to the constructor invocation.
See https://dart.dev/lints/prefer_const_constructors to learn more about this problem.
|
Use 'const' with the constructor to improve performance.:
src/kaiteki/lib/ui/account/settings_screen.dart#L124
Try adding the 'const' keyword to the constructor invocation.
See https://dart.dev/lints/prefer_const_constructors to learn more about this problem.
|
Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check.:
src/kaiteki/lib/ui/auth/login/dialogs/api_type_dialog.dart#L40
Guard a 'State.context' use with a 'mounted' check on the State, and other BuildContext use with a 'mounted' check on the BuildContext.
See https://dart.dev/lints/use_build_context_synchronously to learn more about this problem.
|
The import of 'package:kaiteki_core/model.dart' is unnecessary because all of the used elements are also provided by the import of 'package:kaiteki_core/kaiteki_core.dart'.:
src/kaiteki/lib/ui/explore/news_list_tile.dart#L3
Try removing the import directive.
See https://dart.dev/diagnostics/unnecessary_import to learn more about this problem.
|