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