analysis_options.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. include: package:flutter_lints/flutter.yaml
  2. analyzer:
  3. strong-mode:
  4. implicit-dynamic: false
  5. errors:
  6. missing_required_param: warning
  7. missing_return: warning
  8. public_member_api_docs: ignore
  9. todo: ignore
  10. linter:
  11. rules:
  12. - always_put_control_body_on_new_line
  13. - avoid_bool_literals_in_conditional_expressions
  14. - avoid_classes_with_only_static_members
  15. - avoid_field_initializers_in_const_classes
  16. - avoid_slow_async_io
  17. - avoid_unused_constructor_parameters
  18. - avoid_void_async
  19. - cancel_subscriptions
  20. - directives_ordering
  21. - flutter_style_todos
  22. - no_adjacent_strings_in_list
  23. - omit_local_variable_types
  24. - package_api_docs
  25. - prefer_asserts_in_initializer_lists
  26. - prefer_final_locals
  27. - prefer_foreach
  28. - prefer_if_elements_to_conditional_expressions
  29. - prefer_relative_imports
  30. - prefer_single_quotes
  31. - public_member_api_docs
  32. - sort_constructors_first
  33. - sort_pub_dependencies
  34. - sort_unnamed_constructors_first
  35. - test_types_in_equals
  36. - throw_in_finally
  37. - unnecessary_statements