forked from RevRoad/flutter_mentions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
75 lines (75 loc) · 2.35 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
63
64
65
66
67
68
69
70
71
72
73
74
75
include: package:flutter_lints/flutter.yaml
analyzer:
errors:
missing_required_param: error
missing_return: error
must_be_immutable: error
parameter_assignments: error
sort_pub_dependencies: ignore
sort_unnamed_constructors_first: warning
avoid_renaming_method_parameters: warning
unnecessary_getters_setters: ignore
directives_ordering: ignore
todo: ignore
linter:
rules:
- parameter_assignments
- always_use_package_imports
- prefer_single_quotes
- always_declare_return_types
- avoid_dynamic_calls
- avoid_void_async
- avoid_returning_null
- avoid_unused_constructor_parameters
- cancel_subscriptions
- cascade_invocations
- comment_references
- directives_ordering
- invariant_booleans
- no_adjacent_strings_in_list
- only_throw_errors
- package_api_docs
- prefer_interpolation_to_compose_strings
- sort_child_properties_last
- sort_constructors_first
- test_types_in_equals
- throw_in_finally
- unnecessary_null_aware_assignments
- unnecessary_statements
- avoid_returning_null_for_future
- avoid_slow_async_io
- avoid_type_to_string
- use_named_constants
- use_raw_strings
- use_late_for_private_fields_and_variables
- use_string_buffers
- use_to_and_as_if_applicable
- sort_pub_dependencies
- literal_only_boolean_expressions
- avoid_bool_literals_in_conditional_expressions
- avoid_catching_errors
- avoid_double_and_int_checks
- avoid_escaping_inner_quotes
- avoid_field_initializers_in_const_classes
- avoid_redundant_argument_values
- avoid_returning_this
- cast_nullable_to_non_nullable
- deprecated_consistency
- join_return_with_assignment
- leading_newlines_in_multiline_strings
- missing_whitespace_between_adjacent_strings
- no_runtimeType_toString
- null_check_on_nullable_type_parameter
- prefer_asserts_in_initializer_lists
- prefer_final_in_for_each
- prefer_final_locals
- prefer_if_elements_to_conditional_expressions
- prefer_int_literals
- sort_unnamed_constructors_first
- tighten_type_of_initializing_formals
- type_annotate_public_apis
- unnecessary_await_in_return
- unnecessary_null_checks
- unnecessary_nullable_for_final_variable_declarations
- unnecessary_parenthesis
- unnecessary_raw_strings