| 
1 | 1 | include: package:lints/recommended.yaml  | 
2 | 2 | 
 
  | 
3 | 3 | analyzer:  | 
4 |  | -  strong-mode:  | 
5 |  | -    implicit-casts: false  | 
6 |  | -    implicit-dynamic: false  | 
 | 4 | +  language:  | 
 | 5 | +    strict-casts: true  | 
 | 6 | +    strict-inference: true  | 
 | 7 | +    strict-raw-types: true  | 
7 | 8 | 
 
  | 
8 | 9 | linter:  | 
9 | 10 |   rules:  | 
10 |  | -    # Error Rules  | 
11 |  | -    - comment_references  | 
12 |  | -    - control_flow_in_finally  | 
13 |  | -    - empty_statements  | 
14 |  | -    - hash_and_equals  | 
15 |  | -    - iterable_contains_unrelated_type  | 
16 |  | -    - list_remove_unrelated_type  | 
17 |  | -    - no_adjacent_strings_in_list  | 
18 |  | -    - test_types_in_equals  | 
19 |  | -    - throw_in_finally  | 
20 |  | - | 
21 |  | -    # Style Rules  | 
 | 11 | +    - always_declare_return_types  | 
22 | 12 |     - avoid_catching_errors  | 
23 | 13 |     - avoid_private_typedef_functions  | 
24 | 14 |     - avoid_redundant_argument_values  | 
25 |  | -    - avoid_renaming_method_parameters  | 
26 |  | -    - avoid_returning_null_for_void  | 
27 | 15 |     - avoid_unused_constructor_parameters  | 
28 |  | -    - await_only_futures  | 
29 |  | -    - camel_case_types  | 
 | 16 | +    - cancel_subscriptions  | 
30 | 17 |     - cascade_invocations  | 
31 |  | -    - constant_identifier_names  | 
 | 18 | +    - comment_references  | 
32 | 19 |     - directives_ordering  | 
33 |  | -    - file_names  | 
34 |  | -    - implementation_imports  | 
35 | 20 |     - join_return_with_assignment  | 
36 | 21 |     - lines_longer_than_80_chars  | 
 | 22 | +    - literal_only_boolean_expressions  | 
37 | 23 |     - missing_whitespace_between_adjacent_strings  | 
 | 24 | +    - no_adjacent_strings_in_list  | 
38 | 25 |     - no_runtimeType_toString  | 
39 |  | -    - non_constant_identifier_names  | 
 | 26 | +    - omit_local_variable_types  | 
40 | 27 |     - only_throw_errors  | 
41 |  | -    - package_names  | 
42 |  | -    - package_prefixed_library_names  | 
 | 28 | +    - package_api_docs  | 
43 | 29 |     - prefer_asserts_in_initializer_lists  | 
44 | 30 |     - prefer_const_constructors  | 
45 | 31 |     - prefer_const_declarations  | 
46 | 32 |     - prefer_expression_function_bodies  | 
47 | 33 |     - prefer_final_locals  | 
48 |  | -    - prefer_function_declarations_over_variables  | 
49 |  | -    - prefer_initializing_formals  | 
50 |  | -    - prefer_inlined_adds  | 
51 |  | -    - prefer_interpolation_to_compose_strings  | 
52 |  | -    - prefer_is_not_operator  | 
53 |  | -    - prefer_null_aware_operators  | 
54 | 34 |     - prefer_relative_imports  | 
55 |  | -    - prefer_typing_uninitialized_variables  | 
56 |  | -    - prefer_void_to_null  | 
57 |  | -    - provide_deprecation_message  | 
 | 35 | +    - prefer_single_quotes  | 
58 | 36 |     - sort_pub_dependencies  | 
59 |  | -    - unnecessary_brace_in_string_interps  | 
 | 37 | +    - test_types_in_equals  | 
 | 38 | +    - throw_in_finally  | 
 | 39 | +    - type_annotate_public_apis  | 
 | 40 | +    - unawaited_futures  | 
 | 41 | +    - unnecessary_await_in_return  | 
60 | 42 |     - unnecessary_lambdas  | 
61 |  | -    - unnecessary_null_aware_assignments  | 
62 |  | -    - unnecessary_overrides  | 
63 | 43 |     - unnecessary_parenthesis  | 
64 | 44 |     - unnecessary_statements  | 
65 |  | -    - unnecessary_string_interpolations  | 
66 | 45 |     - use_string_buffers  | 
67 |  | -    - void_checks  | 
 | 46 | +    - use_super_parameters  | 
0 commit comments