-
Notifications
You must be signed in to change notification settings - Fork 58
/
analysis_options.yaml
62 lines (54 loc) · 2.07 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
include: package:workiva_analysis_options/v2.recommended.yaml
analyzer:
strong-mode:
implicit-casts: false
exclude:
- _site/**
- test_fixtures/**
- app/**
- tools/analyzer_plugin/**
- ddc_precompiled/**
errors:
duplicate_import: warning
must_call_super: error
unused_import: warning
unnecessary_import: warning
unnecessary_null_comparison: warning
comment_references: info
# To work around warning "'can_be_null_after_null_aware' isn't a recognized error code" in Dart 3
included_file_warning: info
# Workaround for https://github.com/dart-lang/sdk/issues/51087
# TODO remove once we're no longer running CI on Dart 2.18
part_of_different_library: ignore
# Too noisy for over_react code / boilerplate
always_declare_return_types: ignore
avoid_types_on_closure_parameters: ignore
prefer_mixin: ignore
type_annotate_public_apis: ignore
# Affects generated code
unnecessary_this: ignore
unused_field: ignore
# Lints that have too many exceptions and provide limited value
avoid_private_typedef_functions: ignore
join_return_with_assignment: ignore
# Fixing these would cause a lot of changes, and these lints don't provide too much value
prefer_interpolation_to_compose_strings: ignore
sort_unnamed_constructors_first: ignore
unnecessary_lambdas: ignore
# Fixing these would cause a lot of changes; clean up after null safety branch
always_put_required_named_parameters_first: ignore
avoid_function_literals_in_foreach_calls: ignore
avoid_positional_boolean_parameters: ignore
avoid_renaming_method_parameters: ignore
directives_ordering: ignore
file_names: ignore
omit_local_variable_types: ignore
overridden_fields: ignore
prefer_asserts_in_initializer_lists: ignore
prefer_final_in_for_each: ignore
prefer_final_locals: ignore
unnecessary_parenthesis: ignore
unnecessary_string_interpolations: ignore
# Maybe fix within null safety branch in follow-up PR?
prefer_final_fields: ignore
prefer_void_to_null: ignore