-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathanalysis_options.yaml
35 lines (32 loc) · 1.09 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
include: package:workiva_analysis_options/v1.recommended.yaml
analyzer:
exclude:
- playground/**
- test/temporary_test_fixtures/**
- test/test_fixtures/**
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
# Treat missing required parameters as a warning (not a hint)
missing_required_param: warning
# Treat missing returns as a warning (not a hint)
missing_return: warning
# Override workiva_analysis_options upgrade to warning
unused_import: info
implementation_imports: warning
# To work around warning "'can_be_null_after_null_aware' isn't a recognized error code" in Dart 3
included_file_warning: info
# ignores from v1.recommended
prefer_interpolation_to_compose_strings: ignore
cascade_invocations: ignore
prefer_single_quotes: ignore
type_annotate_public_apis: ignore
prefer_final_locals: ignore
# This is less readable in some cases, and isn't worth it.
join_return_with_assignment: ignore
linter:
rules:
- avoid_returning_null_for_future
- avoid_void_async
- implementation_imports