-
Notifications
You must be signed in to change notification settings - Fork 4
/
analysis_options.yaml
67 lines (57 loc) · 1.68 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
include: package:lints/recommended.yaml
analyzer:
exclude:
- test/test_data/**.*
strong-mode:
implicit-casts: true
implicit-dynamic: true
# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
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_annotating_with_dynamic
- avoid_classes_with_only_static_members
- avoid_bool_literals_in_conditional_expressions
- avoid_double_and_int_checks
- 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
- prefer_single_quotes
- package_api_docs
# - public_member_api_docs