-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
50 lines (47 loc) · 1.45 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
include: package:flutter_lints/flutter.yaml
# supported options: 'ignore', 'false', 'include', 'true', 'error', 'info' and 'warning'
analyzer:
errors:
unused_local_variable: warning
invalid_assignment: warning
missing_return: error
annotate_overrides: error
always_specify_types: warning
dead_code: warning
todo: info
linter:
rules:
library_private_types_in_public_api: false
depend_on_referenced_packages: false
hash_and_equals: true
prefer_is_not_empty: true
always_specify_types: false
avoid_print: true
constant_identifier_names: true
non_constant_identifier_names: true
avoid_type_to_string: true
camel_case_types: true
empty_constructor_bodies: true
prefer_const_constructors: true
sort_constructors_first: false
prefer_single_quotes: true
avoid_empty_else: true
cancel_subscriptions: true
close_sinks: true
prefer_conditional_assignment: true
cast_nullable_to_non_nullable: true
omit_local_variable_types: false
avoid_returning_null_for_future: true
always_declare_return_types: true
avoid_returning_null: true
avoid_returning_null_for_void: true
avoid_returning_this: true
implementation_imports: false
avoid_void_async: true
unawaited_futures: true
await_only_futures: true
unnecessary_lambdas: true
unnecessary_await_in_return: true
unnecessary_final: true
sort_pub_dependencies: false
package_names: true