-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
24 lines (23 loc) · 965 Bytes
/
analysis_options.yaml
File metadata and controls
24 lines (23 loc) · 965 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
include: package:workiva_analysis_options/v2.recommended.yaml
analyzer:
strong-mode:
implicit-casts: false
errors:
must_call_super: error
comment_references: info
# This is too noisy since it warns for all lifecycle methods.
always_declare_return_types: ignore
# We very often need to annotate parameters when they're embedded in Maps
# with dynamic values, so this lint is noisy and wrong in those cases.
# See: https://github.com/dart-lang/linter/issues/1099
avoid_types_on_closure_parameters: ignore
# This makes string concatenation less readable in some cases
prefer_interpolation_to_compose_strings: ignore
# The following are ignored to avoid merge conflicts with null safety branch
directives_ordering: ignore
prefer_typing_uninitialized_variables: ignore
linter:
rules:
prefer_if_elements_to_conditional_expressions: false
overridden_fields: false
type_annotate_public_apis: false