forked from synw/sqlcool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
59 lines (58 loc) · 1.69 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
include: package:pedantic/analysis_options.yaml
analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
missing_return: error
missing_required_param: error
invalid_use_of_protected_member: error
dead_code: info
sdk_version_async_exported_from_core: ignore
linter:
rules:
- package_names
- avoid_empty_else
- avoid_return_types_on_setters
- cancel_subscriptions
- hash_and_equals
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- test_types_in_equals
- unrelated_type_equality_checks
- valid_regexps
- close_sinks
- no_adjacent_strings_in_list
- unnecessary_statements
- unnecessary_null_in_if_null_operators
- unnecessary_null_aware_assignments
- unnecessary_new
- unnecessary_lambdas
- unnecessary_const
- void_checks
- prefer_is_empty
- prefer_is_not_empty
- slash_for_doc_comments
- prefer_contains
- prefer_final_fields
- prefer_final_locals
- always_put_control_body_on_new_line
- always_declare_return_types
- always_put_required_named_parameters_first
- always_require_non_null_named_parameters
- annotate_overrides
- avoid_classes_with_only_static_members
- avoid_bool_literals_in_conditional_expressions
- avoid_init_to_null
- avoid_null_checks_in_equality_operators
- avoid_positional_boolean_parameters
- avoid_renaming_method_parameters
- avoid_returning_null
- camel_case_types
- constant_identifier_names
- empty_constructor_bodies
- cascade_invocations
- omit_local_variable_types
- package_api_docs
- prefer_null_aware_operators
# - public_member_api_docs