Skip to content

Commit

Permalink
Merge pull request #270 from AhmedLSayed9/removed_deprecated_lint_rules
Browse files Browse the repository at this point in the history
Remove deprecated lint rules
  • Loading branch information
AhmedLSayed9 committed May 16, 2024
2 parents 1710d04 + b88e7a9 commit 6044617
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ linter:
- always_declare_return_types
- always_put_control_body_on_new_line
# - always_put_required_named_parameters_first # we prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219
- always_require_non_null_named_parameters
# - always_specify_types # removed for redundancy: https://github.com/dart-lang/linter/issues/1848
# - always_use_package_imports # we do this commonly
- annotate_overrides
Expand Down Expand Up @@ -55,8 +54,6 @@ linter:
- avoid_relative_lib_imports
- avoid_renaming_method_parameters
- avoid_return_types_on_setters
- avoid_returning_null
- avoid_returning_null_for_future
- avoid_returning_null_for_void
# - avoid_returning_this # there are enough valid reasons to return `this` that this lint ends up with too many false positives
- avoid_setters_without_getters
Expand Down

0 comments on commit 6044617

Please sign in to comment.