-
Notifications
You must be signed in to change notification settings - Fork 1
/
analysis_options.yaml
41 lines (39 loc) · 1.22 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
include: package:very_good_analysis/analysis_options.yaml
analyzer:
errors:
invalid_annotation_target: ignore
todo: ignore
avoid_print: ignore
exclude:
- "lib/generated/**"
- "**/*.g.dart"
- "**/*.gr.dart"
- "**/*.freezed.dart"
- "**/*.config.dart"
- "**/generated_plugin_registrant.dart"
- "**/generated/**/*"
- "**/generated/*"
- "example/**"
linter:
rules:
always_put_control_body_on_new_line: true
always_specify_types: true
avoid_implementing_value_types: true
depend_on_referenced_packages: true
lines_longer_than_80_chars: false
omit_local_variable_types: false
prefer_foreach: true
public_member_api_docs: false
unnecessary_constructor_name: true
unsafe_html: true
use_test_throws_matchers: true
unnecessary_lambdas: false
no_default_cases: false
avoid_multiple_declarations_per_line: false
flutter_style_todos: false
avoid_dynamic_calls: false
use_string_in_part_of_directives: true
# we want our models to keep the order of the fields even if not required
always_put_required_named_parameters_first: false
# we have valid reasons to use this
avoid_bool_literals_in_conditional_expressions: false