Skip to content

Commit

Permalink
Add new rule: deprecated_member_use_from_same_package (dart-lang/lint…
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins authored Mar 16, 2023
1 parent bbe7aa6 commit aec537d
Show file tree
Hide file tree
Showing 5 changed files with 1,250 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ linter:
- dangling_library_doc_comments
- depend_on_referenced_packages
- deprecated_consistency
- deprecated_member_use_from_same_package
- diagnostic_describe_all_properties
- directives_ordering
- discarded_futures
Expand Down
2 changes: 2 additions & 0 deletions lib/src/rules.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ import 'rules/curly_braces_in_flow_control_structures.dart';
import 'rules/dangling_library_doc_comments.dart';
import 'rules/depend_on_referenced_packages.dart';
import 'rules/deprecated_consistency.dart';
import 'rules/deprecated_member_use_from_same_package.dart';
import 'rules/diagnostic_describe_all_properties.dart';
import 'rules/directives_ordering.dart';
import 'rules/discarded_futures.dart';
Expand Down Expand Up @@ -293,6 +294,7 @@ void registerLintRules({bool inTestMode = false}) {
..register(DanglingLibraryDocComments())
..register(DependOnReferencedPackages())
..register(DeprecatedConsistency())
..register(DeprecatedMemberUseFromSamePackage())
..register(DiagnosticsDescribeAllProperties())
..register(DirectivesOrdering())
..register(DiscardedFutures())
Expand Down
Loading

0 comments on commit aec537d

Please sign in to comment.