-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
executable file
·67 lines (67 loc) · 2 KB
/
analysis_options.yaml
File metadata and controls
executable file
·67 lines (67 loc) · 2 KB
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
63
64
65
66
67
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
linter:
rules:
- annotate_overrides
- always_declare_return_types
- avoid_annotating_with_dynamic
- avoid_bool_literals_in_conditional_expressions
- avoid_catching_errors
- avoid_empty_else
- avoid_escaping_inner_quotes
- avoid_final_parameters
- avoid_field_initializers_in_const_classes
- avoid_init_to_null
- avoid_multiple_declarations_per_line
- avoid_relative_lib_imports
- avoid_returning_null_for_void
- avoid_returning_this
- avoid_setters_without_getters
- avoid_shadowing_type_parameters
- avoid_slow_async_io
- avoid_types_as_parameter_names
- avoid_types_on_closure_parameters
- avoid_unused_constructor_parameters
- avoid_void_async
- await_only_futures
- cancel_subscriptions
- cast_nullable_to_non_nullable
- close_sinks
- collection_methods_unrelated_type
- combinators_ordering
- control_flow_in_finally
- curly_braces_in_flow_control_structures
- dangling_library_doc_comments
- depend_on_referenced_packages
- deprecated_consistency
- deprecated_member_use_from_same_package
- directives_ordering
- discarded_futures
- document_ignores
- empty_catches
- exhaustive_cases
- no_duplicate_case_values
- null_closures
- only_throw_errors
- prefer_const_constructors_in_immutables
- prefer_const_declarations
- prefer_final_fields
- prefer_final_locals
- prefer_is_empty
- prefer_is_not_empty
- prefer_null_aware_operators
- prefer_relative_imports
- public_member_api_docs
- recursive_getters
- slash_for_doc_comments
- sort_pub_dependencies
- unawaited_futures
- unnecessary_lambdas
- unnecessary_overrides
- unnecessary_parenthesis
- unrelated_type_equality_checks
- valid_regexps