-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
34 lines (32 loc) · 950 Bytes
/
analysis_options.yaml
File metadata and controls
34 lines (32 loc) · 950 Bytes
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
include: package:effective_dart/analysis_options.yaml
linter:
rules:
parameter_assignments: true
unrelated_type_equality_checks: true
public_member_api_docs: false
analyzer:
exclude:
- lib/**/*.*.dart
- packages/**/*.*.dart
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
# error
unrelated_type_equality_checks: error
missing_required_param: error
only_throw_errors: error
missing_return: error
missing_enum_constant_in_switch: error
# warn
parameter_assignments: warning
use_rethrow_when_possible: warning
# ignore
use_setters_to_change_properties: ignore
avoid_setters_without_getters: ignore
one_member_abstracts: ignore
avoid_classes_with_only_static_members: ignore
avoid_init_to_null: ignore
avoid_types_on_closure_parameters: ignore
avoid_returning_null: ignore
prefer_function_declarations_over_variables: ignore