Remove redundant lint rules

use_null_aware_elements is included in the lints package analysis
options.

Change-Id: I01222fc7e84be32da657f04b16e15af7d5861433
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/506600
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Auto-Submit: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Sam Rawlins
2026-05-27 10:26:22 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent 49597f85d9
commit 19ca914f74
5 changed files with 1 additions and 8 deletions
@@ -35,4 +35,3 @@ linter:
- unnecessary_library_directive
- unnecessary_parenthesis
- unreachable_from_main
- use_null_aware_elements
@@ -32,6 +32,3 @@ linter:
- unnecessary_library_directive
- unnecessary_parenthesis
- unreachable_from_main
- use_null_aware_elements
@@ -24,4 +24,3 @@ linter:
- unnecessary_library_directive
- unnecessary_parenthesis
- unreachable_from_main
- use_null_aware_elements
@@ -26,4 +26,3 @@ linter:
- unnecessary_library_directive
- unnecessary_parenthesis
- unreachable_from_main
- use_null_aware_elements
+1 -2
View File
@@ -50,7 +50,7 @@ linter:
- sort_pub_dependencies
- test_types_in_equals
- throw_in_finally
- unawaited_futures # pedantic
- unawaited_futures
- unnecessary_async
- unnecessary_breaks
- unnecessary_final
@@ -62,7 +62,6 @@ linter:
- unnecessary_statements
- unreachable_from_main
- use_late_for_private_fields_and_variables
- use_null_aware_elements
- use_setters_to_change_properties
- use_string_buffers
- use_to_and_as_if_applicable