forked from GCWizard/GCWizard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
1034 lines (1032 loc) · 40.9 KB
/
analysis_options.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# docs:
# https://dart.dev/guides/language/analysis-options
# https://dart.dev/tools/linter-rules
include: package:flutter_lints/flutter.yaml
analyzer:
exclude: [build/**]
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
# # Linter rules: Error rules https://dart.dev/tools/linter-rules#error-rules ========================================
# always_use_package_imports: error
# avoid_dynamic_calls: error
# avoid_empty_else: error
avoid_print: warning
# avoid_relative_lib_imports: error
# avoid_returning_null_for_future: error
# avoid_slow_async_io: error
# avoid_type_to_string: error
avoid_types_as_parameter_names: error
# avoid_web_libraries_in_flutter: error
# cancel_subscriptions: error
# close_sinks: error
# collection_methods_unrelated_type: error
# comment_references: error
# control_flow_in_finally: error
# diagnostic_describe_all_properties: error
# discarded_futures: error
empty_statements: error
# hash_and_equals: error
# invariant_booleans: error
iterable_contains_unrelated_type: error
# list_remove_unrelated_type: error
# literal_only_boolean_expressions: error
# no_adjacent_strings_in_list: error
no_duplicate_case_values: error
# no_logic_in_create_state: error
# prefer_relative_imports: error
# prefer_void_to_null: error
# test_types_in_equals: error
# throw_in_finally: error
# unnecessary_statements: error
unrelated_type_equality_checks: error
# unsafe_html: error
use_build_context_synchronously: ignore
use_key_in_widget_constructors: error
# valid_regexps: error
# # Linter rules: Style rules https://dart.dev/tools/linter-rules#style-rules ========================================
# always_declare_return_types: error
# always_put_control_body_on_new_line: error
# always_put_required_named_parameters_first: error
# always_require_non_null_named_parameters: error
# always_specify_types: error
# annotate_overrides: error
# avoid_annotating_with_dynamic: error
# avoid_as: error
# avoid_bool_literals_in_conditional_expressions: error
# avoid_catches_without_on_clauses: error
# avoid_catching_errors: error
# avoid_classes_with_only_static_members: error
# avoid_double_and_int_checks: error
# avoid_equals_and_hash_code_on_mutable_classes: error
# avoid_escaping_inner_quotes: error
# avoid_field_initializers_in_const_classes: error
# avoid_final_parameters: error
avoid_function_literals_in_foreach_calls: warning
# avoid_implementing_value_types: error
avoid_init_to_null: error
# avoid_js_rounded_ints: error
# avoid_multiple_declarations_per_line: error
# avoid_null_checks_in_equality_operators: error
# avoid_positional_boolean_parameters: error
# avoid_private_typedef_functions: error
# avoid_redundant_argument_values: error
# avoid_renaming_method_parameters: error
# avoid_return_types_on_setters: error
# avoid_returning_null: error
avoid_returning_null_for_void: error
# avoid_returning_this: error
# avoid_setters_without_getters: error
# avoid_shadowing_type_parameters: error
avoid_single_cascade_in_expression_statements: warning
# avoid_types_on_closure_parameters: error
avoid_unnecessary_containers: error
# avoid_unused_constructor_parameters: error
# avoid_void_async: error
await_only_futures: error
# camel_case_extensions: error
camel_case_types: ignore
# cascade_invocations: error
# cast_nullable_to_non_nullable: error
# combinators_ordering: error
# conditional_uri_does_not_exist: error
constant_identifier_names: ignore
curly_braces_in_flow_control_structures: error
# dangling_library_doc_comments: error
# deprecated_consistency: error
# directives_ordering: error
# do_not_use_environment: error
empty_catches: ignore
# empty_constructor_bodies: error
# enable_null_safety: error
# eol_at_end_of_file: error
# exhaustive_cases: error
file_names: ignore
# flutter_style_todos: error
# implementation_imports: error
# implicit_call_tearoffs: error
# join_return_with_assignment: error
# leading_newlines_in_multiline_strings: error
# library_annotations: error
# library_names: error
library_prefixes: ignore
library_private_types_in_public_api: ignore
# lines_longer_than_80_chars: error
# missing_whitespace_between_adjacent_strings: error
# no_default_cases: error
# no_leading_underscores_for_library_prefixes: error
no_leading_underscores_for_local_identifiers: ignore
# no_runtimeType_toString: error
non_constant_identifier_names: ignore
# noop_primitive_operations: error
# null_check_on_nullable_type_parameter: error
# null_closures: error
# omit_local_variable_types: error
# one_member_abstracts: error
# only_throw_errors: error
# overridden_fields: error
# package_api_docs: error
# package_prefixed_library_names: error
# parameter_assignments: error
prefer_adjacent_string_concatenation: ignore
# prefer_asserts_in_initializer_lists: error
# prefer_asserts_with_message: error
# prefer_bool_in_asserts: error
prefer_collection_literals: error
prefer_conditional_assignment: error
prefer_const_constructors: warning
prefer_const_constructors_in_immutables: warning
prefer_const_declarations: warning
prefer_const_literals_to_create_immutables: warning
# prefer_constructors_over_static_methods: error
prefer_contains: error
# prefer_double_quotes: error
# prefer_equal_for_default_values: error
# prefer_expression_function_bodies: error
prefer_final_fields: warning
# prefer_final_in_for_each: error
# prefer_final_locals: error
# prefer_final_parameters: error
prefer_for_elements_to_map_fromIterable: warning
# prefer_foreach: error
prefer_function_declarations_over_variables: error
# prefer_generic_function_type_aliases: error
# prefer_if_elements_to_conditional_expressions: error
prefer_if_null_operators: warning
prefer_initializing_formals: warning
# prefer_inlined_adds: error
# prefer_int_literals: error
prefer_interpolation_to_compose_strings: ignore
prefer_is_empty: error
prefer_is_not_empty: error
prefer_is_not_operator: warning
prefer_iterable_whereType: warning
# prefer_mixin: error
# prefer_null_aware_method_calls: error
prefer_null_aware_operators: error
# prefer_single_quotes: error
# prefer_spread_collections: error
prefer_typing_uninitialized_variables: error
# provide_deprecation_message: error
# public_member_api_docs: error
# recursive_getters: error
# require_trailing_commas: error
sized_box_for_whitespace: warning
# sized_box_shrink_expand: error
slash_for_doc_comments: ignore
sort_child_properties_last: warning
# sort_constructors_first: error
# sort_unnamed_constructors_first: error
# super_goes_last: error
# tighten_type_of_initializing_formals: error
# type_annotate_public_apis: error
type_init_formals: error
# unawaited_futures: error
# unnecessary_await_in_return: error
unnecessary_brace_in_string_interps: warning
unnecessary_const: warning
# unnecessary_constructor_name: error
unnecessary_getters_setters: warning
# unnecessary_lambdas: error
# unnecessary_late: error
# unnecessary_library_directive: error
unnecessary_new: warning
# unnecessary_null_aware_assignments: error
# unnecessary_null_aware_operator_on_extension_on_nullable: error
# unnecessary_null_checks: error
unnecessary_null_in_if_null_operators: error
# unnecessary_nullable_for_final_variable_declarations: error
# unnecessary_overrides: error
# unnecessary_parenthesis: error
# unnecessary_raw_strings: error
unnecessary_string_escapes: error
unnecessary_string_interpolations: warning
unnecessary_this: warning
# unnecessary_to_list_in_spreads: error
# unreachable_from_main: error
# use_colored_box: error
# use_decorated_box: error
# use_enums: error
use_full_hex_values_for_flutter_colors: error
use_function_type_syntax_for_parameters: error
# use_if_null_to_convert_nulls_to_bools: error
# use_is_even_rather_than_modulo: error
# use_late_for_private_fields_and_variables: error
# use_named_constants: error
# use_raw_strings: error
# use_rethrow_when_possible: error
# use_setters_to_change_properties: error
# use_string_buffers: error
# use_string_in_part_of_directives: error
# use_super_parameters: error
# use_test_throws_matchers: error
# use_to_and_as_if_applicable: error
# void_checks : error
# # Linter rules: Pub rules https://dart.dev/tools/linter-rules#pub-rules ============================================
depend_on_referenced_packages: error
# package_names: error
# secure_pubspec_urls: error
# sort_pub_dependencies: error
# # analyzer Package: errorCode Values https://pub.dev/documentation/analyzer/latest/error_error/errorCodeValues-constant.html
# included_file_parse_error: error
# parse_error: error
# strong_mode_setting_deprecated: error
# included_file_warning: error
# include_file_not_found: error
# invalid_option: error
# invalid_section_format: error
# spec_mode_removed: error
# unrecognized_error_code: error
# unsupported_option_without_values: error
# unsupported_option_with_legal_value: error
# unsupported_option_with_legal_values: error
# unsupported_value: error
# abstract_field_initializer: error
# abstract_super_member_reference: error
# ambiguous_export: error
# ambiguous_extension_member_access: error
# ambiguous_import: error
# ambiguous_set_or_map_literal_both: error
# ambiguous_set_or_map_literal_either: error
# argument_type_not_assignable: error
# assert_in_redirecting_constructor: error
# assignment_to_const: error
# assignment_to_final: error
# assignment_to_final_local: error
# assignment_to_final_no_setter: error
# assignment_to_function: error
# assignment_to_method: error
# assignment_to_type: error
# async_for_in_wrong_context: error
# await_in_late_local_variable_initializer: error
# await_in_wrong_context: error
# body_might_complete_normally: error
# break_label_on_switch_member: error
# built_in_identifier_as_type: error
# case_block_not_terminated: error
# case_expression_type_implements_equals: error
# case_expression_type_is_not_switch_expression_subtype: error
# cast_to_non_type: error
# concrete_class_has_enum_superinterface: error
# concrete_class_with_abstract_member: error
# conflicting_field_and_method: error
# conflicting_generic_interfaces: error
# conflicting_method_and_field: error
# conflicting_static_and_instance: error
# const_constructor_field_type_mismatch: error
# const_constructor_param_type_mismatch: error
# const_constructor_throws_exception: error
# const_constructor_with_field_initialized_by_non_const: error
# const_constructor_with_mixin_with_field: error
# const_constructor_with_non_const_super: error
# const_constructor_with_non_final_field: error
# const_deferred_class: error
# const_eval_throws_exception: error
# const_eval_throws_idbze: error
# const_eval_type_bool: error
# const_eval_type_bool_int: error
# const_eval_type_bool_num_string: error
# const_eval_type_int: error
# const_eval_type_num: error
# const_eval_type_type: error
# const_initialized_with_non_constant_value: error
# const_initialized_with_non_constant_value_from_deferred_library: error
# const_instance_field: error
# const_map_key_expression_type_implements_equals: error
# const_not_initialized: error
# const_set_element_type_implements_equals: error
# const_spread_expected_list_or_set: error
# const_spread_expected_map: error
# const_with_non_const: error
# const_with_non_constant_argument: error
# const_with_type_parameters: error
# const_with_undefined_constructor: error
# const_with_undefined_constructor_default: error
# could_not_infer: error
# default_list_constructor: error
# default_value_in_redirecting_factory_constructor: error
# default_value_on_required_parameter: error
# deferred_import_of_extension: error
# definitely_unassigned_late_local_variable: error
# disallowed_type_instantiation_expression: error
# duplicate_augmentation_import: error
# duplicate_definition: error
# duplicate_field_formal_parameter: error
# duplicate_field_name: error
# duplicate_named_argument: error
# duplicate_part: error
# duplicate_variable_pattern: error
# enum_constant_same_name_as_enclosing: error
# enum_constant_with_non_const_constructor: error
# enum_instantiated_to_bounds_is_not_well_bounded: error
# enum_mixin_with_instance_variable: error
# enum_with_abstract_member: error
# enum_with_name_values: error
# equal_elements_in_const_set: error
# equal_keys_in_const_map: error
# expected_one_list_pattern_type_arguments: error
# expected_one_list_type_arguments: error
# expected_one_set_type_arguments: error
# expected_two_map_type_arguments: error
# export_internal_library: error
# export_legacy_symbol: error
# export_of_non_library: error
# expression_in_map: error
# extends_non_class: error
# extension_as_expression: error
# extension_conflicting_static_and_instance: error
# extension_declares_member_of_object: error
# extension_override_access_to_static_member: error
# extension_override_argument_not_assignable: error
# extension_override_without_access: error
# extension_override_with_cascade: error
# extra_positional_arguments: error
# extra_positional_arguments_could_be_named: error
# field_initialized_by_multiple_initializers: error
# field_initialized_in_initializer_and_declaration: error
# field_initialized_in_parameter_and_initializer: error
# field_initializer_factory_constructor: error
# field_initializer_not_assignable: error
# field_initializer_redirecting_constructor: error
# field_initializing_formal_not_assignable: error
# final_initialized_in_declaration_and_constructor: error
# final_not_initialized: error
# for_in_of_invalid_element_type: error
# for_in_of_invalid_type: error
# for_in_with_const_variable: error
# generic_function_type_cannot_be_bound: error
# generic_function_type_cannot_be_type_argument: error
# generic_method_type_instantiation_on_dynamic: error
# getter_not_assignable_setter_types: error
# getter_not_subtype_setter_types: error
# if_element_condition_from_deferred_library: error
# illegal_async_generator_return_type: error
# illegal_async_return_type: error
# illegal_language_version_override: error
# illegal_sync_generator_return_type: error
# implements_non_class: error
# implements_repeated: error
# implements_super_class: error
# implicit_super_initializer_missing_arguments: error
# implicit_this_reference_in_initializer: error
# import_internal_library: error
# import_of_non_library: error
# import_of_not_augmentation: error
# inconsistent_case_expression_types: error
# inconsistent_inheritance: error
# inconsistent_inheritance_getter_and_method: error
# inconsistent_language_version_override: error
# initializer_for_non_existent_field: error
# initializer_for_static_field: error
# initializing_formal_for_non_existent_field: error
# instance_access_to_static_member: error
# instance_member_access_from_factory: error
# instance_member_access_from_static: error
# instantiate_abstract_class: error
# instantiate_enum: error
# instantiate_type_alias_expands_to_type_parameter: error
# integer_literal_imprecise_as_double: error
# integer_literal_out_of_range: error
# invalid_annotation: error
# invalid_annotation_constant_value_from_deferred_library: error
# invalid_annotation_from_deferred_library: error
# invalid_assignment: error
# invalid_cast_function: error
# invalid_cast_function_expr: error
# invalid_cast_literal: error
# invalid_cast_literal_list: error
# invalid_cast_literal_map: error
# invalid_cast_literal_set: error
# invalid_cast_method: error
# invalid_cast_new_expr: error
# invalid_constant: error
# invalid_extension_argument_count: error
# invalid_factory_name_not_a_class: error
# invalid_implementation_override: error
# invalid_inline_function_type: error
# invalid_modifier_on_constructor: error
# invalid_modifier_on_setter: error
# invalid_override: error
# invalid_reference_to_generative_enum_constructor: error
# invalid_reference_to_this: error
# invalid_super_formal_parameter_location: error
# invalid_uri: error
# invalid_use_of_covariant: error
# invalid_use_of_null_value: error
# invocation_of_extension_without_call: error
# invocation_of_non_function: error
# invocation_of_non_function_expression: error
# label_in_outer_scope: error
# label_undefined: error
# late_final_field_with_const_constructor: error
# late_final_local_already_assigned: error
# list_element_type_not_assignable: error
# macro_execution_exception: error
# main_first_positional_parameter_type: error
# main_has_required_named_parameters: error
# main_has_too_many_required_positional_parameters: error
# main_is_not_function: error
# map_entry_not_in_map: error
# map_key_type_not_assignable: error
# map_value_type_not_assignable: error
# missing_const_in_list_literal: error
# missing_const_in_map_literal: error
# missing_const_in_set_literal: error
# missing_dart_library: error
# missing_default_value_for_parameter: error
# missing_object_pattern_getter_name: error
# missing_required_argument: error
# missing_variable_pattern: error
# mixin_application_concrete_super_invoked_member_type: error
# mixin_application_not_implemented_interface: error
# mixin_application_no_concrete_super_invoked_member: error
# mixin_class_declares_constructor: error
# mixin_inherits_from_not_object: error
# mixin_instantiate: error
# mixin_of_non_class: error
# mixin_super_class_constraint_deferred_class: error
# mixin_super_class_constraint_non_interface: error
# mixin_with_non_class_superclass: error
# multiple_redirecting_constructor_invocations: error
# multiple_super_initializers: error
# new_with_undefined_constructor: error
# new_with_undefined_constructor_default: error
# non_bool_condition: error
# non_bool_expression: error
# non_bool_negation_expression: error
# non_bool_operand: error
# non_constant_annotation_constructor: error
# non_constant_case_expression: error
# non_constant_case_expression_from_deferred_library: error
# non_constant_default_value: error
# non_constant_default_value_from_deferred_library: error
# non_constant_list_element: error
# non_constant_map_element: error
# non_constant_map_key: error
# non_constant_map_value: error
# non_constant_set_element: error
# non_const_generative_enum_constructor: error
# non_const_map_as_expression_statement: error
# non_final_field_in_enum: error
# non_generative_constructor: error
# non_generative_implicit_constructor: error
# non_sync_factory: error
# non_type_as_type_argument: error
# non_type_in_catch_clause: error
# non_void_return_for_operator: error
# non_void_return_for_setter: error
# not_assigned_potentially_non_nullable_local_variable: error
# not_a_type: error
# not_binary_operator: error
# not_initialized_non_nullable_instance_field: error
# not_initialized_non_nullable_variable: error
# not_instantiated_bound: error
# not_iterable_spread: error
# not_map_spread: error
# not_null_aware_null_spread: error
# no_annotation_constructor_arguments: error
# no_combined_super_signature: error
# no_generative_constructors_in_superclass: error
# nullable_type_in_extends_clause: error
# nullable_type_in_implements_clause: error
# nullable_type_in_on_clause: error
# nullable_type_in_with_clause: error
# object_cannot_extend_another_class: error
# obsolete_colon_for_default_value: error
# on_repeated: error
# optional_parameter_in_operator: error
# part_of_different_library: error
# part_of_non_part: error
# part_of_unnamed_library: error
# positional_super_formal_parameter_with_positional_argument: error
# prefix_collides_with_top_level_member: error
# prefix_identifier_not_followed_by_dot: error
# prefix_shadowed_by_local_declaration: error
# private_collision_in_mixin_application: error
# private_optional_parameter: error
# private_setter: error
# read_potentially_unassigned_final: error
# recursive_compile_time_constant: error
# recursive_constructor_redirect: error
# recursive_interface_inheritance: error
# redirect_generative_to_missing_constructor: error
# redirect_generative_to_non_generative_constructor: error
# redirect_to_abstract_class_constructor: error
# redirect_to_invalid_function_type: error
# redirect_to_invalid_return_type: error
# redirect_to_missing_constructor: error
# redirect_to_non_class: error
# redirect_to_non_const_constructor: error
# redirect_to_type_alias_expands_to_type_parameter: error
# referenced_before_declaration: error
# relational_pattern_operator_return_type_not_assignable_to_bool: error
# rethrow_outside_catch: error
# return_in_generative_constructor: error
# return_in_generator: error
# return_of_invalid_type_from_closure: error
# return_without_value: error
# set_element_type_not_assignable: error
# shared_deferred_prefix: error
# spread_expression_from_deferred_library: error
# static_access_to_instance_member: error
# super_formal_parameter_type_is_not_subtype_of_associated: error
# super_formal_parameter_without_associated_named: error
# super_formal_parameter_without_associated_positional: error
# super_initializer_in_object: error
# super_invocation_not_last: error
# super_in_enum_constructor: error
# super_in_extension: error
# super_in_invalid_context: error
# super_in_redirecting_constructor: error
# switch_case_completes_normally: error
# switch_expression_not_assignable: error
# tearoff_of_generative_constructor_of_abstract_class: error
# throw_of_invalid_type: error
# top_level_cycle: error
# type_alias_cannot_reference_itself: error
# type_annotation_deferred_class: error
# type_argument_not_matching_bounds: error
# type_parameter_referenced_by_static: error
# type_parameter_supertype_of_its_bound: error
# type_test_with_non_type: error
# type_test_with_undefined_name: error
# undefined_annotation: error
# undefined_class: error
# undefined_constructor_in_initializer: error
# undefined_enum_constant: error
# undefined_extension_getter: error
# undefined_extension_method: error
# undefined_extension_operator: error
# undefined_extension_setter: error
# undefined_function: error
# undefined_getter: error
# undefined_identifier: error
# undefined_identifier_await: error
# undefined_method: error
# undefined_named_parameter: error
# undefined_operator: error
# undefined_prefixed_name: error
# undefined_setter: error
# unqualified_reference_to_non_local_static_member: error
# unqualified_reference_to_static_member_of_extended_type: error
# uri_does_not_exist: error
# uri_has_not_been_generated: error
# uri_with_interpolation: error
# use_of_native_extension: error
# use_of_void_result: error
# values_declaration_in_enum: error
# variable_type_mismatch: error
# wrong_explicit_type_parameter_variance_in_superinterface: error
# wrong_number_of_parameters_for_operator: error
# wrong_number_of_parameters_for_setter: error
# wrong_number_of_type_arguments: error
# wrong_number_of_type_arguments_constructor: error
# wrong_number_of_type_arguments_enum: error
# wrong_number_of_type_arguments_extension: error
# wrong_number_of_type_arguments_function: error
# wrong_number_of_type_arguments_method: error
# wrong_type_parameter_variance_in_superinterface: error
# wrong_type_parameter_variance_position: error
# yield_in_non_generator: error
# yield_of_invalid_type: error
# abi_specific_integer_invalid: error
# abi_specific_integer_mapping_extra: error
# abi_specific_integer_mapping_missing: error
# abi_specific_integer_mapping_unsupported: error
# annotation_on_pointer_field: error
# argument_must_be_a_constant: error
# compound_implements_finalizable: error
# creation_of_struct_or_union: error
# empty_struct: error
# extra_annotation_on_struct_field: error
# extra_size_annotation_carray: error
# ffi_native_must_be_external: error
# ffi_native_only_classes_extending_nativefieldwrapperclass1_can_be_pointer: error
# ffi_native_unexpected_number_of_parameters: error
# ffi_native_unexpected_number_of_parameters_with_receiver: error
# field_initializer_in_struct: error
# field_in_struct_with_initializer: error
# field_must_be_external_in_struct: error
# generic_struct_subclass: error
# invalid_exception_value: error
# invalid_field_type_in_struct: error
# leaf_call_must_not_return_handle: error
# leaf_call_must_not_take_handle: error
# mismatched_annotation_on_struct_field: error
# missing_annotation_on_struct_field: error
# missing_exception_value: error
# missing_field_type_in_struct: error
# missing_size_annotation_carray: error
# must_be_a_native_function_type: error
# must_be_a_subtype: error
# non_constant_type_argument: error
# non_native_function_type_argument_to_pointer: error
# non_positive_array_dimension: error
# non_sized_type_argument: error
# packed_annotation: error
# packed_annotation_alignment: error
# size_annotation_dimensions: error
# assignment_of_do_not_store: error
# can_be_null_after_null_aware: error
# cast_from_nullable_always_fails: error
# cast_from_null_always_fails: error
# dead_code: error
# dead_code_catch_following_catch: error
# dead_code_on_catch_subtype: error
deprecated_colon_for_default_value: error
# deprecated_export_use: error
deprecated_member_use: warning
# deprecated_member_use_from_same_package: error
# division_optimization: error
# file_import_inside_lib_references_file_outside: error
# file_import_outside_lib_references_file_inside: error
# import_deferred_library_with_load_function: error
# import_of_legacy_library_into_null_safe: error
# invalid_immutable_annotation: error
# invalid_internal_annotation: error
# invalid_literal_annotation: error
# invalid_non_virtual_annotation: error
# invalid_override_of_non_virtual_member: error
# invalid_visibility_annotation: error
# invalid_visible_for_overriding_annotation: error
# mixin_on_sealed_class: error
must_be_immutable: ignore
# must_call_super: error
# non_const_call_to_literal_constructor: error
# null_check_always_fails: error
# strict_raw_type: error
# subtype_of_sealed_class: error
# undefined_referenced_parameter: error
# unignorable_ignore: error
unnecessary_cast: error
# unnecessary_final: error
# unnecessary_ignore: error
unnecessary_import: error
# unnecessary_no_such_method: error
unnecessary_null_comparison: error
# unnecessary_question_mark: error
# unused_element: error
# unused_field: warning
unused_import: error
# unused_label: error
# unused_local_variable: error
# unused_result: error
# unused_shown_name: error
# implicit_dynamic_field: error
# implicit_dynamic_function: error
# implicit_dynamic_invoke: error
# implicit_dynamic_list_literal: error
# implicit_dynamic_map_literal: error
# implicit_dynamic_method: error
# implicit_dynamic_parameter: error
# implicit_dynamic_return: error
# implicit_dynamic_type: error
# implicit_dynamic_variable: error
# camera_permissions_incompatible: error
# non_resizable_activity: error
# no_touchscreen_feature: error
# permission_implies_unsupported_hardware: error
# setting_orientation_on_activity: error
# unsupported_chrome_os_feature: error
# unsupported_chrome_os_hardware: error
# abstract_class_member: error
# abstract_enum: error
# abstract_external_field: error
# abstract_late_field: error
# abstract_sealed_class: error
# abstract_static_field: error
# abstract_static_method: error
# abstract_top_level_function: error
# abstract_top_level_variable: error
# abstract_typedef: error
# annotation_on_type_argument: error
# annotation_with_type_arguments: error
# annotation_with_type_arguments_uninstantiated: error
# async_keyword_used_as_identifier: error
# binary_operator_written_out: error
# break_outside_of_loop: error
# catch_syntax: error
# catch_syntax_extra_parameters: error
# class_in_class: error
# colon_in_place_of_in: error
# conflicting_modifiers: error
# constructor_with_return_type: error
# constructor_with_type_arguments: error
# const_and_final: error
# const_class: error
# const_constructor_with_body: error
# const_enum: error
# const_factory: error
# const_method: error
# const_typedef: error
# continue_outside_of_loop: error
# continue_without_label_in_case: error
# covariant_and_static: error
# covariant_constructor: error
# covariant_member: error
# covariant_top_level_declaration: error
# default_value_in_function_type: error
# deferred_after_prefix: error
# directive_after_declaration: error
# duplicated_modifier: error
# duplicate_deferred: error
# duplicate_label_in_switch_statement: error
# duplicate_prefix: error
# empty_enum_body: error
# empty_record_literal_with_comma: error
# empty_record_type_named_fields_list: error
# empty_record_type_with_comma: error
# enum_in_class: error
# equality_cannot_be_equality_operand: error
# expected_body: error
# expected_case_or_default: error
# expected_class_member: error
# expected_else_or_comma: error
# expected_executable: error
# expected_identifier_but_got_keyword: error
# expected_instead: error
# expected_list_or_map_literal: error
# expected_string_literal: error
# expected_type_name: error
# experiment_not_enabled: error
# experiment_not_enabled_off_by_default: error
# export_directive_after_part_directive: error
# extension_declares_abstract_member: error
# extension_declares_constructor: error
# extension_declares_instance_field: error
# external_class: error
# external_constructor_with_body: error
# external_constructor_with_initializer: error
# external_enum: error
# external_factory_redirection: error
# external_factory_with_body: error
# external_field: error
# external_getter_with_body: error
# external_late_field: error
# external_method_with_body: error
# external_operator_with_body: error
# external_setter_with_body: error
# external_typedef: error
# extraneous_modifier: error
# factory_top_level_declaration: error
# factory_without_body: error
# factory_with_initializers: error
# field_initialized_outside_declaring_class: error
# field_initializer_outside_constructor: error
# final_and_covariant: error
# final_and_covariant_late_with_initializer: error
# final_and_var: error
# final_class: error
# final_constructor: error
# final_enum: error
# final_method: error
# final_typedef: error
# function_typed_parameter_var: error
# getter_constructor: error
# getter_in_function: error
# getter_with_parameters: error
# illegal_assignment_to_non_assignable: error
# implements_before_extends: error
# implements_before_on: error
# implements_before_with: error
# import_directive_after_part_directive: error
# initialized_variable_in_for_each: error
# invalid_await_in_for: error
# invalid_code_point: error
# invalid_comment_reference: error
# invalid_constructor_name: error
# invalid_generic_function_type: error
# invalid_hex_escape: error
# invalid_initializer: error
# invalid_literal_in_configuration: error
# invalid_operator: error
# invalid_operator_for_super: error
# invalid_operator_questionmark_period_for_super: error
# invalid_star_after_async: error
# invalid_super_in_initializer: error
# invalid_sync: error
# invalid_this_in_initializer: error
# invalid_unicode_escape_started: error
# invalid_unicode_escape_u_bracket: error
# invalid_unicode_escape_u_no_bracket: error
# invalid_unicode_escape_u_started: error
# invalid_use_of_covariant_in_extension: error
# library_directive_not_first: error
# literal_with_class: error
# literal_with_class_and_new: error
# literal_with_new: error
# local_function_declaration_modifier: error
# member_with_class_name: error
# missing_assignable_selector: error
# missing_assignment_in_initializer: error
# missing_catch_or_finally: error
# missing_closing_parenthesis: error
# missing_const_final_var_or_type: error
# missing_enum_body: error
# missing_expression_in_initializer: error
# missing_expression_in_throw: error
# missing_function_body: error
# missing_function_keyword: error
# missing_function_parameters: error
# missing_get: error
# missing_initializer: error
# missing_keyword_operator: error
# missing_method_parameters: error
# missing_name_for_named_parameter: error
# missing_name_in_library_directive: error
# missing_name_in_part_of_directive: error
# missing_prefix_in_deferred_import: error
# missing_star_after_sync: error
# missing_statement: error
# missing_terminator_for_parameter_group: error
# missing_typedef_parameters: error
# missing_variable_in_for_each: error
# mixed_parameter_groups: error
# mixin_declares_constructor: error
# modifier_out_of_order: error
# multiple_clauses: error
# multiple_extends_clauses: error
# multiple_implements_clauses: error
# multiple_library_directives: error
# multiple_named_parameter_groups: error
# multiple_on_clauses: error
# multiple_part_of_directives: error
# multiple_positional_parameter_groups: error
# multiple_variables_in_for_each: error
# multiple_variance_modifiers: error
# multiple_with_clauses: error
# named_function_expression: error
# named_function_type: error
# named_parameter_outside_group: error
# native_clause_in_non_sdk_code: error
# native_clause_should_be_annotation: error
# native_function_body_in_non_sdk_code: error
# non_constructor_factory: error
# non_identifier_library_name: error
# non_part_of_directive_in_part: error
# non_string_literal_as_uri: error
# non_user_definable_operator: error
# normal_before_optional_parameters: error
# null_aware_cascade_out_of_order: error
# out_of_order_clauses: error
# positional_after_named_argument: error
# positional_parameter_outside_group: error
# prefix_after_combinator: error
# record_literal_one_positional_no_trailing_comma: error
# record_type_one_positional_no_trailing_comma: error
# redirecting_constructor_with_body: error
# redirection_in_non_factory_constructor: error
# setter_constructor: error
# setter_in_function: error
# stack_overflow: error
# static_constructor: error
# static_getter_without_body: error
# static_operator: error
# static_setter_without_body: error
# static_top_level_declaration: error
# switch_has_case_after_default_case: error
# switch_has_multiple_default_cases: error
# top_level_operator: error
# typedef_in_class: error
# type_arguments_on_type_variable: error
# type_before_factory: error
# type_parameter_on_constructor: error
# type_parameter_on_operator: error
# unexpected_terminator_for_parameter_group: error
# unexpected_token: error
# unexpected_tokens: error
# var_and_type: error
# var_as_type_name: error
# var_class: error
# var_enum: error
# var_return_type: error
# var_typedef: error
# void_with_type_arguments: error
# with_before_extends: error
# wrong_separator_for_positional_parameter: error
# wrong_terminator_for_parameter_group: error
# asset_directory_does_not_exist: error
# asset_does_not_exist: error
# asset_field_not_list: error
# asset_not_string: error
# dependencies_field_not_map: error
# deprecated_field: error
# flutter_field_not_map: error
# invalid_dependency: error
# missing_name: error
# name_not_string: error
# path_does_not_exist: error
# path_not_posix: error
# path_pubspec_does_not_exist: error
# unnecessary_dev_dependency: error
# expected_token: error
# illegal_character: error
# missing_digit: error
# missing_hex_digit: error
# missing_identifier: error
# missing_quote: error
# unable_get_content: error
# unexpected_dollar_in_string: error
# unsupported_operator: error
# unterminated_multi_line_comment: error
# unterminated_string_literal: error
dead_null_aware_expression: error
# invalid_null_aware_operator: error
# missing_enum_constant_in_switch: error
unnecessary_non_null_assertion: error
# fixme: error
# hack: error
# todo: error
# undone: error
# argument_type_not_assignable_to_error_handler: error
# body_might_complete_normally_catch_error: error
# body_might_complete_normally_nullable: error
# deprecated_new_in_comment_reference: error
# duplicate_export: error
# duplicate_hidden_name: error
# duplicate_ignore: error
# duplicate_import: error
# duplicate_shown_name: error
# equal_elements_in_set: error
# equal_keys_in_map: error
inference_failure_on_collection_literal: error
inference_failure_on_function_invocation: error
inference_failure_on_function_return_type: error
inference_failure_on_generic_invocation: error
inference_failure_on_instance_creation: error
inference_failure_on_uninitialized_variable: error
inference_failure_on_untyped_parameter: error
# invalid_annotation_target: error
# invalid_export_of_internal_element: error
# invalid_export_of_internal_element_indirectly: error
# invalid_factory_annotation: error
# invalid_factory_method_decl: error
# invalid_factory_method_impl: error
# invalid_required_named_param: error
# invalid_required_optional_positional_param: error
# invalid_required_positional_param: error
# invalid_sealed_annotation: error
# invalid_use_of_internal_member: error
# invalid_use_of_protected_member: error
# invalid_use_of_visible_for_overriding_member: error
# invalid_use_of_visible_for_template_member: error
# invalid_use_of_visible_for_testing_member: error
# missing_required_param: error
# missing_return: error
# nullable_type_in_catch_clause: error
null_argument_to_non_null_type: error
# null_aware_before_operator: error
# null_aware_in_condition: error
# null_aware_in_logical_operator: error
# receiver_of_type_never: error
# return_of_do_not_store: error
# sdk_version_async_exported_from_core: error
# sdk_version_as_expression_in_const_context: error
# sdk_version_bool_operator_in_const_context: error
# sdk_version_constructor_tearoffs: error
# sdk_version_eq_eq_operator_in_const_context: error
# sdk_version_extension_methods: error
# sdk_version_gt_gt_gt_operator: error
# sdk_version_is_expression_in_const_context: error
# sdk_version_never: error
# sdk_version_set_literal: error
# sdk_version_ui_as_code: error
# sdk_version_ui_as_code_in_const_context: error
# text_direction_code_point_in_comment: error
# text_direction_code_point_in_literal: error