-
Notifications
You must be signed in to change notification settings - Fork 6
/
analysis_options.yaml
72 lines (70 loc) · 2.3 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
include: package:flutter_lints/flutter.yaml
linter:
rules:
public_member_api_docs: true
prefer_relative_imports: true
prefer_const_constructors: true
directives_ordering: true
annotate_overrides: true
await_only_futures: true
camel_case_types: true
camel_case_extensions: true
library_names: true
file_names: true
library_prefixes: true
cancel_subscriptions: true
close_sinks: true
comment_references: true
control_flow_in_finally: true
constant_identifier_names: true
non_constant_identifier_names: true
empty_statements: true
lines_longer_than_80_chars: true
curly_braces_in_flow_control_structures: true
implementation_imports: true
avoid_relative_lib_imports: true
prefer_adjacent_string_concatenation: true
prefer_interpolation_to_compose_strings: true
unnecessary_brace_in_string_interps: true
prefer_collection_literals: true
prefer_is_empty: true
prefer_is_not_empty: true
prefer_iterable_whereType: true
prefer_function_declarations_over_variables: true
unnecessary_lambdas: true
prefer_equal_for_default_values: true
avoid_init_to_null: true
unnecessary_getters_setters: true
unnecessary_this: true
prefer_initializing_formals: true
type_init_formals: true
empty_constructor_bodies: true
unnecessary_new: true
unnecessary_const: true
avoid_catches_without_on_clauses: true
avoid_catching_errors: true
use_rethrow_when_possible: true
use_to_and_as_if_applicable: true
one_member_abstracts: true
avoid_classes_with_only_static_members: true
prefer_mixin: true
prefer_final_fields: true
use_setters_to_change_properties: true
avoid_setters_without_getters: true
avoid_returning_null: true
avoid_returning_this: true
type_annotate_public_apis: true
omit_local_variable_types: true
avoid_return_types_on_setters: true
prefer_generic_function_type_aliases: true
avoid_private_typedef_functions: true
avoid_positional_boolean_parameters: true
hash_and_equals: true
avoid_equals_and_hash_code_on_mutable_classes: true
avoid_null_checks_in_equality_operators: true
library_private_types_in_public_api: false
avoid_print: false
avoid_empty_else: true
analyzer:
exclude:
# - lib/main.dart