This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
55 lines (44 loc) · 1.53 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
include: all_lint_rules.yaml
analyzer:
language:
# Increase safety as much as possible
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
# Cause the import of all_lint_rules to warn because of some rules conflicts.
# Those warnings will be fixed in this file.
included_file_warning: ignore
linter:
rules:
# Conflicts with enabling `strict-raw-types`
avoid_annotating_with_dynamic: false
# Conflicts with `avoid_types_on_closure_parameters`, `omit_local_variable_types`
always_specify_types: false
# Conflicts with `avoid_final_parameters`
prefer_final_parameters: false
# Conflicts with `always_use_package_imports`
prefer_relative_imports: false
# Conflicts with `prefer_single_quotes`
prefer_double_quotes: false
# Conflicts with `prefer_final_locals`
unnecessary_final: false
# Using `=>` has sometimes to reduce readability
prefer_expression_function_bodies: false
# Don't use Flutter-style todos
flutter_style_todos: false
# Too much
one_member_abstracts: false
public_member_api_docs: false
# Don't use Flutter lint rules
avoid_print: false
avoid_unnecessary_containers: false
diagnostic_describe_all_properties: false
no_logic_in_create_state: false
sized_box_for_whitespace: false
sized_box_shrink_expand: false
sort_child_properties_last: false
use_build_context_synchronously: false
use_colored_box: false
use_decorated_box: false
use_key_in_widget_constructors: false