-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
41 lines (39 loc) · 1.28 KB
/
analysis_options.yaml
File metadata and controls
41 lines (39 loc) · 1.28 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
38
39
40
41
# REF: RydMike https://gist.github.com/rydmike/fdb53ddd933c37d20e6f3188a936cd4c
include: all_lint_rules.yaml
analyzer:
exclude:
- '**/*.freezed.dart'
- '**/*.g.dart'
- 'bin/cache/**'
- 'lib/generated_plugin_registrant.dart'
- 'test/.test_coverage.dart'
# REF: https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks
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_put_control_body_on_new_line: false
always_put_required_named_parameters_first: false
always_use_package_imports: false
avoid_annotating_with_dynamic: false
avoid_classes_with_only_static_members: false
avoid_types_on_closure_parameters: false
cascade_invocations: false
comment_references: false
library_private_types_in_public_api: false
omit_local_variable_types: false
one_member_abstracts: false
prefer_double_quotes: false
prefer_expression_function_bodies: false
prefer_final_parameters: false
public_member_api_docs: false
unnecessary_final: false