-
Notifications
You must be signed in to change notification settings - Fork 5
/
analysis_options.yaml
49 lines (49 loc) · 1.56 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
include: package:lints/recommended.yaml
analyzer:
exclude:
- "lib/**/generated/**"
language:
strict-raw-types: false
errors:
always_declare_return_types: error
always_specify_types: error
always_use_package_imports: error
annotate_overrides: error
argument_type_not_assignable: error
avoid_function_literals_in_foreach_calls: error
avoid_renaming_method_parameters: error
avoid_types_on_closure_parameters: error
avoid_unnecessary_containers: error
await_only_futures: error
curly_braces_in_flow_control_structures: error
dead_code: error
duplicate_import: error
file_names: error
invalid_assignment: error
missing_return: error
prefer_const_constructors: error
prefer_const_constructors_in_immutables: error
prefer_const_declarations: error
prefer_collection_literals: error
prefer_contains: error
prefer_const_literals_to_create_immutables: error
prefer_final_fields: error
prefer_single_quotes: error
public_member_api_docs: error
sized_box_for_whitespace: error
sort_constructors_first: error
sort_unnamed_constructors_first: error
use_function_type_syntax_for_parameters: error
use_key_in_widget_constructors: error
unnecessary_import: error
unnecessary_string_interpolations: error
unnecessary_this: error
unused_import: error
linter:
rules:
always_use_package_imports: false
avoid_print: false
prefer_single_quotes: true
public_member_api_docs: true
sort_constructors_first: true
sort_unnamed_constructors_first: true