|
| 1 | +# Additional information about this file can be found at |
| 2 | +# https://dart.dev/guides/language/analysis-options |
| 3 | + |
| 4 | +linter: |
| 5 | + rules: |
| 6 | + # https://github.com/dart-lang/linter/blob/master/example/all.yaml |
| 7 | + - always_declare_return_types |
| 8 | + - always_require_non_null_named_parameters |
| 9 | + - always_use_package_imports |
| 10 | + - annotate_overrides |
| 11 | + - avoid_init_to_null |
| 12 | + - avoid_multiple_declarations_per_line |
| 13 | + - avoid_null_checks_in_equality_operators |
| 14 | + - avoid_positional_boolean_parameters |
| 15 | + - avoid_print |
| 16 | + - avoid_relative_lib_imports |
| 17 | + - avoid_return_types_on_setters |
| 18 | + - avoid_shadowing_type_parameters |
| 19 | + - avoid_single_cascade_in_expression_statements |
| 20 | + - avoid_types_as_parameter_names |
| 21 | + - avoid_unnecessary_containers |
| 22 | + - avoid_unused_constructor_parameters |
| 23 | + - avoid_void_async |
| 24 | + - avoid_web_libraries_in_flutter |
| 25 | + - await_only_futures |
| 26 | + - camel_case_extensions |
| 27 | + - curly_braces_in_flow_control_structures |
| 28 | + - empty_catches |
| 29 | + - empty_constructor_bodies |
| 30 | + - library_names |
| 31 | + - library_prefixes |
| 32 | + - no_duplicate_case_values |
| 33 | + - no_logic_in_create_state |
| 34 | + - null_closures |
| 35 | + - omit_local_variable_types |
| 36 | + - prefer_adjacent_string_concatenation |
| 37 | + - prefer_collection_literals |
| 38 | + - prefer_conditional_assignment |
| 39 | + - prefer_const_constructors |
| 40 | + - prefer_const_constructors_in_immutables |
| 41 | + - prefer_const_declarations |
| 42 | + - prefer_const_literals_to_create_immutables |
| 43 | + - prefer_contains |
| 44 | + - prefer_final_fields |
| 45 | + - prefer_for_elements_to_map_fromIterable |
| 46 | + - prefer_generic_function_type_aliases |
| 47 | + - prefer_if_null_operators |
| 48 | + - prefer_inlined_adds |
| 49 | + - prefer_is_empty |
| 50 | + - prefer_is_not_empty |
| 51 | + - prefer_iterable_whereType |
| 52 | + - prefer_single_quotes |
| 53 | + - prefer_spread_collections |
| 54 | + - recursive_getters |
| 55 | + - require_trailing_commas |
| 56 | + - sized_box_for_whitespace |
| 57 | + - slash_for_doc_comments |
| 58 | + - sort_child_properties_last |
| 59 | + - type_init_formals |
| 60 | + - unawaited_futures |
| 61 | + - unnecessary_brace_in_string_interps |
| 62 | + - unnecessary_const |
| 63 | + - unnecessary_getters_setters |
| 64 | + - unnecessary_new |
| 65 | + - unnecessary_null_in_if_null_operators |
| 66 | + - unnecessary_this |
| 67 | + - unrelated_type_equality_checks |
| 68 | + - unsafe_html |
| 69 | + - use_build_context_synchronously |
| 70 | + - use_colored_box |
| 71 | + - use_decorated_box |
| 72 | + - use_full_hex_values_for_flutter_colors |
| 73 | + - use_function_type_syntax_for_parameters |
| 74 | + - use_key_in_widget_constructors |
| 75 | + - use_rethrow_when_possible |
| 76 | + - valid_regexps |
0 commit comments