|
1 |
| -# This file was copied from audioplayers/analysis_options.yaml (October 2021). |
2 |
| - |
3 |
| -analyzer: |
4 |
| - strong-mode: |
5 |
| - implicit-casts: false |
6 |
| - implicit-dynamic: false |
7 |
| - |
8 |
| - plugins: |
9 |
| - - dart_code_metrics |
10 |
| - |
11 |
| -linter: |
12 |
| - rules: |
13 |
| - - always_declare_return_types |
14 |
| - - always_put_control_body_on_new_line |
15 |
| - - always_require_non_null_named_parameters |
16 |
| - - annotate_overrides |
17 |
| - - avoid_double_and_int_checks |
18 |
| - - avoid_dynamic_calls |
19 |
| - - avoid_empty_else |
20 |
| - - avoid_equals_and_hash_code_on_mutable_classes |
21 |
| - - avoid_escaping_inner_quotes |
22 |
| - - avoid_field_initializers_in_const_classes |
23 |
| - - avoid_init_to_null |
24 |
| - - avoid_js_rounded_ints |
25 |
| - - avoid_null_checks_in_equality_operators |
26 |
| - - avoid_private_typedef_functions |
27 |
| - - avoid_redundant_argument_values |
28 |
| - - avoid_relative_lib_imports |
29 |
| - - avoid_return_types_on_setters |
30 |
| - - avoid_shadowing_type_parameters |
31 |
| - - avoid_slow_async_io |
32 |
| - - avoid_type_to_string |
33 |
| - - avoid_types_as_parameter_names |
34 |
| - - avoid_unused_constructor_parameters |
35 |
| - - await_only_futures |
36 |
| - - camel_case_extensions |
37 |
| - - camel_case_types |
38 |
| - - cancel_subscriptions |
39 |
| - - cast_nullable_to_non_nullable |
40 |
| - - close_sinks |
41 |
| - - comment_references |
42 |
| - - constant_identifier_names |
43 |
| - - control_flow_in_finally |
44 |
| - - curly_braces_in_flow_control_structures |
45 |
| - - directives_ordering |
46 |
| - - do_not_use_environment |
47 |
| - - empty_catches |
48 |
| - - empty_constructor_bodies |
49 |
| - - empty_statements |
50 |
| - - exhaustive_cases |
51 |
| - - file_names |
52 |
| - - hash_and_equals |
53 |
| - - implementation_imports |
54 |
| - - invariant_booleans |
55 |
| - - iterable_contains_unrelated_type |
56 |
| - - join_return_with_assignment |
57 |
| - - library_names |
58 |
| - - library_prefixes |
59 |
| - - list_remove_unrelated_type |
60 |
| - - literal_only_boolean_expressions |
61 |
| - - missing_whitespace_between_adjacent_strings |
62 |
| - - no_adjacent_strings_in_list |
63 |
| - - no_duplicate_case_values |
64 |
| - - no_runtimeType_toString |
65 |
| - - omit_local_variable_types |
66 |
| - - package_api_docs |
67 |
| - - package_names |
68 |
| - - package_prefixed_library_names |
69 |
| - - parameter_assignments |
70 |
| - - prefer_adjacent_string_concatenation |
71 |
| - - prefer_asserts_in_initializer_lists |
72 |
| - - prefer_collection_literals |
73 |
| - - prefer_conditional_assignment |
74 |
| - - prefer_const_constructors |
75 |
| - - prefer_const_constructors_in_immutables |
76 |
| - - prefer_const_declarations |
77 |
| - - prefer_const_literals_to_create_immutables |
78 |
| - - prefer_contains |
79 |
| - - prefer_equal_for_default_values |
80 |
| - - prefer_final_fields |
81 |
| - - prefer_final_in_for_each |
82 |
| - - prefer_final_locals |
83 |
| - - prefer_for_elements_to_map_fromIterable |
84 |
| - - prefer_foreach |
85 |
| - - prefer_function_declarations_over_variables |
86 |
| - - prefer_generic_function_type_aliases |
87 |
| - - prefer_if_elements_to_conditional_expressions |
88 |
| - - prefer_if_null_operators |
89 |
| - - prefer_initializing_formals |
90 |
| - - prefer_inlined_adds |
91 |
| - - prefer_interpolation_to_compose_strings |
92 |
| - - prefer_is_empty |
93 |
| - - prefer_is_not_empty |
94 |
| - - prefer_is_not_operator |
95 |
| - - prefer_iterable_whereType |
96 |
| - - prefer_mixin |
97 |
| - - prefer_null_aware_operators |
98 |
| - - prefer_single_quotes |
99 |
| - - prefer_spread_collections |
100 |
| - - prefer_relative_imports |
101 |
| - - prefer_typing_uninitialized_variables |
102 |
| - - prefer_void_to_null |
103 |
| - - provide_deprecation_message |
104 |
| - - recursive_getters |
105 |
| - - slash_for_doc_comments |
106 |
| - - sort_unnamed_constructors_first |
107 |
| - - test_types_in_equals |
108 |
| - - throw_in_finally |
109 |
| - - type_annotate_public_apis |
110 |
| - - type_init_formals |
111 |
| - - unnecessary_await_in_return |
112 |
| - - unnecessary_brace_in_string_interps |
113 |
| - - unnecessary_const |
114 |
| - - unnecessary_getters_setters |
115 |
| - - unnecessary_lambdas |
116 |
| - - unnecessary_new |
117 |
| - - unnecessary_null_aware_assignments |
118 |
| - - unnecessary_null_in_if_null_operators |
119 |
| - - unnecessary_overrides |
120 |
| - - unnecessary_parenthesis |
121 |
| - - unnecessary_raw_strings |
122 |
| - - unnecessary_statements |
123 |
| - - unnecessary_string_escapes |
124 |
| - - unnecessary_string_interpolations |
125 |
| - - unnecessary_this |
126 |
| - - use_full_hex_values_for_flutter_colors |
127 |
| - - use_function_type_syntax_for_parameters |
128 |
| - - use_is_even_rather_than_modulo |
129 |
| - - use_rethrow_when_possible |
130 |
| - - unrelated_type_equality_checks |
131 |
| - - unsafe_html |
132 |
| - - void_checks |
133 |
| - |
134 |
| -dart_code_metrics: |
135 |
| - rules: |
136 |
| - - prefer-trailing-comma |
137 |
| - - prefer-trailing-comma-for-collection |
138 |
| - - no-equal-then-else |
139 |
| - - no-object-declaration |
140 |
| - - potential-null-dereference |
141 |
| - metrics-exclude: |
142 |
| - - '**/**' |
| 1 | +include: package:flame_lint/analysis_options.yaml |
0 commit comments