-
Notifications
You must be signed in to change notification settings - Fork 15
/
analysis_options.yaml
43 lines (39 loc) · 1.28 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
include: package:lint/analysis_options_package.yaml
analyzer:
exclude:
- "test/.test_coverage.dart"
- "bin/cache/**"
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
included_file_warning: ignore
missing_required_param: error
missing_return: error
deprecated_member_use_from_same_package: ignore
parameter_assignments: warning
linter:
rules:
always_put_control_body_on_new_line: false
always_put_required_named_parameters_first: false
always_use_package_imports: true
avoid_annotating_with_dynamic: false
avoid_catches_without_on_clauses: false
avoid_classes_with_only_static_members: false
avoid_final_parameters: false
avoid_positional_boolean_parameters: false
avoid_redundant_argument_values: true
avoid_types_on_closure_parameters: false
cascade_invocations: false
diagnostic_describe_all_properties: false
omit_local_variable_types: false
prefer_constructors_over_static_methods: false
prefer_single_quotes: true
prefer_expression_function_bodies: false
prefer_final_parameters: false
prefer_int_literals: false
public_member_api_docs: true
require_trailing_commas: false
sort_constructors_first: true
unnecessary_final: false