Skip to content

Commit 6ed254c

Browse files
stereotype441Commit Queue
authored andcommitted
[linter] Drop unnecessary constant_identifier_names ignore.
THe file `lint_codes.g.dart` no longer needs to ignore the `constant_identifier_names` lint, because linter diagnostic names now use camelCase. Change-Id: I6a6a6964cf7595ffe879e9fd6ac12589cfdfe606 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445406 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Paul Berry <[email protected]>
1 parent be89f23 commit 6ed254c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

pkg/linter/lib/src/lint_codes.g.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
// Instead modify 'pkg/linter/messages.yaml' and run
88
// 'dart run pkg/linter/tool/generate_lints.dart' to update.
99

10-
// We allow some snake_case and SCREAMING_SNAKE_CASE identifiers in generated
11-
// code, as they match names declared in the source configuration files.
12-
// ignore_for_file: constant_identifier_names
13-
1410
// Generated comments don't quite align with flutter style.
1511
// ignore_for_file: flutter_style_todos
1612

pkg/linter/tool/generate_lints.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ GeneratedFile get generatedCodesFile =>
4747
// Instead modify 'pkg/linter/messages.yaml' and run
4848
// 'dart run pkg/linter/tool/generate_lints.dart' to update.
4949
50-
// We allow some snake_case and SCREAMING_SNAKE_CASE identifiers in generated
51-
// code, as they match names declared in the source configuration files.
52-
// ignore_for_file: constant_identifier_names
53-
5450
// Generated comments don't quite align with flutter style.
5551
// ignore_for_file: flutter_style_todos
5652

0 commit comments

Comments
 (0)