Skip to content

Commit e054ac0

Browse files
srawlinsCommit Queue
authored andcommitted
DAS: enforce non_constant_identifier_names
Change-Id: I83463db8edd76886edc635018f03e14880bb0607 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417965 Auto-Submit: Samuel Rawlins <[email protected]> Reviewed-by: Phil Quitslund <[email protected]> Commit-Queue: Phil Quitslund <[email protected]>
1 parent b6bf94c commit e054ac0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pkg/analysis_server/analysis_options.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ analyzer:
1919
# 'analyzer' (and sometimes the '_fe_analyzer_shared' package), because it
2020
# is tightly integrated. This will not likely change any time soon.
2121
implementation_imports: ignore
22-
# There are just over 100 violations of this, which can likely be ignored
23-
# on a case-by-case or file-by-file basis.
24-
non_constant_identifier_names: ignore
2522
overridden_fields: ignore
2623
todo: ignore
2724
# Existing violations (361)

pkg/analysis_server/lib/src/protocol/protocol_internal.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import 'package:analyzer_plugin/src/utilities/client_uri_converter.dart';
1515
export 'package:analyzer_plugin/src/protocol/protocol_internal.dart'
1616
show JsonDecoder;
1717

18+
// Ignored for legacy code reasons; this variable is used across a few packages.
19+
// ignore: non_constant_identifier_names
1820
final Map<String, RefactoringKind> REQUEST_ID_REFACTORING_KINDS =
1921
HashMap<String, RefactoringKind>();
2022

0 commit comments

Comments
 (0)