forked from Mr-Sunglasses/dartdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
38 lines (36 loc) · 1015 Bytes
/
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
# Change analysis_options.yaml and analysis_options_presubmit.yaml
# together.
include: package:lints/recommended.yaml
analyzer:
errors:
todo: ignore
unused_import: warning
unused_shown_name: warning
language:
strict-raw-types: true
exclude:
- 'doc/**'
- 'pub.dartlang.org/**'
- 'testing/**'
linter:
rules:
- always_declare_return_types
- always_put_required_named_parameters_first
- avoid_bool_literals_in_conditional_expressions
- avoid_dynamic_calls
- avoid_slow_async_io
- avoid_unused_constructor_parameters
- depend_on_referenced_packages
- directives_ordering
- eol_at_end_of_file
- no_adjacent_strings_in_list
- omit_local_variable_types
- package_api_docs
- prefer_asserts_in_initializer_lists
- prefer_null_aware_method_calls
- prefer_single_quotes
- sort_child_properties_last
- sort_pub_dependencies
- type_annotate_public_apis
- unawaited_futures
- unnecessary_null_aware_assignments