forked from Just-gomin/tiny_tree-app_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
37 lines (35 loc) · 1.32 KB
/
analysis_options.yaml
File metadata and controls
37 lines (35 loc) · 1.32 KB
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
# Ref: https://dart.dev/tools/linter-rules/all
include: all_linter_rules.yaml
analyzer:
exclude:
- "**/*.freezed.dart"
- "**/*.g.dart"
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
deprecated_member_use_from_same_package: ignore
included_file_warning: ignore
missing_required_param: error
missing_return: error
parameter_assignments: warning
todo: ignore
linter:
rules:
always_use_package_imports: false # make simply import files from same packages
always_put_required_named_parameters_first: false
avoid_annotating_with_dynamic: false
avoid_classes_with_only_static_members: false
avoid_types_on_closure_parameters: false # make sure to specify the type for closure parameter
cascade_invocations: false
comment_references: false
library_private_types_in_public_api: false
omit_local_variable_types: false # make sure to specify the type for local variable
omit_obvious_local_variable_types: false # make sure to specify the type for local variable
omit_obvious_property_types: false # make sure to specify the type
one_member_abstracts: false
prefer_double_quotes: false
prefer_expression_function_bodies: false
prefer_final_parameters: false # make parameter immutable
unnecessary_final: false