forked from oguzhnatly/flutter_carplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
71 lines (69 loc) · 2.44 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
include: package:flutter_lints/flutter.yaml
analyzer:
exclude:
- "**/*.g.dart"
- "**/*.chopper.dart"
- "lib/generated_plugin_registrant.dart"
linter:
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
use_enums: true
close_sinks: true
use_colored_box: true
use_raw_strings: true
unnecessary_late: true
avoid_void_async: true
throw_in_finally: true
use_decorated_box: true
use_named_constants: true
prefer_final_locals: true
cascade_invocations: true
directives_ordering: true
flutter_style_todos: true
unnecessary_lambdas: true
secure_pubspec_urls: true
use_super_parameters: true
cancel_subscriptions: true
prefer_single_quotes: true
sort_pub_dependencies: true
parameter_assignments: true
do_not_use_environment: true
avoid_final_parameters: true
unnecessary_statements: true
sized_box_shrink_expand: true
unnecessary_parenthesis: true
prefer_relative_imports: true
unnecessary_raw_strings: true
require_trailing_commas: true
prefer_if_null_operators: true
prefer_final_in_for_each: true
use_test_throws_matchers: true
type_annotate_public_apis: true
omit_local_variable_types: true
use_to_and_as_if_applicable: true
prefer_asserts_with_message: true
avoid_escaping_inner_quotes: true
join_return_with_assignment: true
no_adjacent_strings_in_list: true
unnecessary_await_in_return: true
avoid_double_and_int_checks: true
depend_on_referenced_packages: false
conditional_uri_does_not_exist: true
use_is_even_rather_than_modulo: true
prefer_null_aware_method_calls: true
avoid_redundant_argument_values: true
literal_only_boolean_expressions: true
avoid_types_on_closure_parameters: true
prefer_asserts_in_initializer_lists: true
avoid_positional_boolean_parameters: true
avoid_unused_constructor_parameters: true
use_if_null_to_convert_nulls_to_bools: true
prefer_constructors_over_static_methods: true
use_late_for_private_fields_and_variables: true
avoid_field_initializers_in_const_classes: true
no_leading_underscores_for_library_prefixes: true
prefer_function_declarations_over_variables: true
no_leading_underscores_for_local_identifiers: true
avoid_equals_and_hash_code_on_mutable_classes: true
prefer_if_elements_to_conditional_expressions: true
avoid_bool_literals_in_conditional_expressions: true