@@ -17,9 +17,6 @@ linter:
1717 # We prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219
1818 always_put_required_named_parameters_first : false
1919
20- # Depends on your needs
21- always_require_non_null_named_parameters : false
22-
2320 # Conflicts with `omit_local_variable_types` and other rules.
2421 # As per Dart guidelines, we want to avoid unnecessary types to make the code
2522 # more readable.
@@ -48,9 +45,6 @@ linter:
4845 # We prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
4946 avoid_private_typedef_functions : false
5047
51- # Useful in a lot of cases
52- avoid_returning_null : false
53-
5448 # Can be useful to have a more readable code
5549 avoid_types_on_closure_parameters : false
5650
@@ -72,9 +66,6 @@ linter:
7266
7367 # This project doesn't use Flutter-style todos
7468 flutter_style_todos : false
75-
76- # Experimental: Too many false positives: https://github.com/dart-lang/linter/issues/811
77- invariant_booleans : false
7869
7970 # Can be useful to have a more readable code
8071 join_return_with_assignment : false
@@ -115,9 +106,6 @@ linter:
115106 # return, but that return is still complex enough that a "body" is worth it.
116107 prefer_expression_function_bodies : false
117108
118- # False positives
119- top_level_function_literal_block : false
120-
121109 # We don't want to enforce this rule now.
122110 sort_pub_dependencies : false
123111
0 commit comments