Send Clover and LCOV coverage reports to the Coveralls service, in Dart. https://docs.belin.io/coveralls.dart
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

153 lines
4.6 KiB

  1. analyzer:
  2. exclude:
  3. - lib/**.g.dart
  4. - lib/src/version.dart
  5. linter:
  6. rules:
  7. - always_declare_return_types
  8. - always_put_required_named_parameters_first
  9. - always_require_non_null_named_parameters
  10. - annotate_overrides
  11. - avoid_annotating_with_dynamic
  12. - avoid_as
  13. - avoid_bool_literals_in_conditional_expressions
  14. - avoid_catches_without_on_clauses
  15. - avoid_catching_errors
  16. - avoid_classes_with_only_static_members
  17. - avoid_double_and_int_checks
  18. - avoid_empty_else
  19. - avoid_equals_and_hash_code_on_mutable_classes
  20. - avoid_field_initializers_in_const_classes
  21. - avoid_function_literals_in_foreach_calls
  22. - avoid_implementing_value_types
  23. - avoid_init_to_null
  24. - avoid_js_rounded_ints
  25. - avoid_null_checks_in_equality_operators
  26. - avoid_positional_boolean_parameters
  27. - avoid_print
  28. - avoid_private_typedef_functions
  29. - avoid_relative_lib_imports
  30. - avoid_renaming_method_parameters
  31. - avoid_return_types_on_setters
  32. - avoid_returning_null
  33. - avoid_returning_null_for_future
  34. - avoid_returning_null_for_void
  35. - avoid_returning_this
  36. - avoid_setters_without_getters
  37. - avoid_shadowing_type_parameters
  38. - avoid_single_cascade_in_expression_statements
  39. - avoid_slow_async_io
  40. - avoid_types_as_parameter_names
  41. - avoid_types_on_closure_parameters
  42. - avoid_unnecessary_containers
  43. - avoid_unused_constructor_parameters
  44. - avoid_void_async
  45. - avoid_web_libraries_in_flutter
  46. - await_only_futures
  47. - camel_case_extensions
  48. - camel_case_types
  49. - cancel_subscriptions
  50. - cascade_invocations
  51. - close_sinks
  52. - comment_references
  53. - constant_identifier_names
  54. - control_flow_in_finally
  55. - diagnostic_describe_all_properties
  56. - directives_ordering
  57. - empty_catches
  58. - empty_constructor_bodies
  59. - empty_statements
  60. - file_names
  61. - hash_and_equals
  62. - implementation_imports
  63. - invariant_booleans
  64. - iterable_contains_unrelated_type
  65. - join_return_with_assignment
  66. - library_names
  67. - library_prefixes
  68. - list_remove_unrelated_type
  69. - literal_only_boolean_expressions
  70. - no_adjacent_strings_in_list
  71. - no_duplicate_case_values
  72. - non_constant_identifier_names
  73. - null_closures
  74. - omit_local_variable_types
  75. - one_member_abstracts
  76. - only_throw_errors
  77. - overridden_fields
  78. - package_api_docs
  79. - package_names
  80. - package_prefixed_library_names
  81. - parameter_assignments
  82. - prefer_adjacent_string_concatenation
  83. - prefer_asserts_in_initializer_lists
  84. - prefer_collection_literals
  85. - prefer_conditional_assignment
  86. - prefer_const_constructors
  87. - prefer_const_constructors_in_immutables
  88. - prefer_const_declarations
  89. - prefer_const_literals_to_create_immutables
  90. - prefer_constructors_over_static_methods
  91. - prefer_contains
  92. - prefer_double_quotes
  93. - prefer_equal_for_default_values
  94. - prefer_expression_function_bodies
  95. - prefer_final_fields
  96. - prefer_final_in_for_each
  97. - prefer_final_locals
  98. - prefer_for_elements_to_map_fromIterable
  99. - prefer_foreach
  100. - prefer_function_declarations_over_variables
  101. - prefer_generic_function_type_aliases
  102. - prefer_if_elements_to_conditional_expressions
  103. - prefer_if_null_operators
  104. - prefer_initializing_formals
  105. - prefer_inlined_adds
  106. - prefer_int_literals
  107. - prefer_interpolation_to_compose_strings
  108. - prefer_is_empty
  109. - prefer_is_not_empty
  110. - prefer_is_not_operator
  111. - prefer_iterable_whereType
  112. - prefer_mixin
  113. - prefer_null_aware_operators
  114. - prefer_relative_imports
  115. - prefer_spread_collections
  116. - prefer_typing_uninitialized_variables
  117. - prefer_void_to_null
  118. - provide_deprecation_message
  119. - public_member_api_docs
  120. - recursive_getters
  121. - slash_for_doc_comments
  122. - sort_child_properties_last
  123. - sort_constructors_first
  124. - sort_pub_dependencies
  125. - sort_unnamed_constructors_first
  126. - test_types_in_equals
  127. - throw_in_finally
  128. - type_init_formals
  129. - unawaited_futures
  130. - unnecessary_await_in_return
  131. - unnecessary_brace_in_string_interps
  132. - unnecessary_const
  133. - unnecessary_getters_setters
  134. - unnecessary_lambdas
  135. - unnecessary_new
  136. - unnecessary_null_aware_assignments
  137. - unnecessary_null_in_if_null_operators
  138. - unnecessary_overrides
  139. - unnecessary_parenthesis
  140. - unnecessary_statements
  141. - unnecessary_this
  142. - unrelated_type_equality_checks
  143. - unsafe_html
  144. - use_full_hex_values_for_flutter_colors
  145. - use_function_type_syntax_for_parameters
  146. - use_rethrow_when_possible
  147. - use_setters_to_change_properties
  148. - use_string_buffers
  149. - use_to_and_as_if_applicable
  150. - valid_regexps
  151. - void_checks