Commit 67d3a2c
[messages] Use all lower case in lint_names.g.dart.
Now that lint name matching is case insensitive
(https://dart-review.googlesource.com/c/sdk/+/465964), it is no longer
necessary for the lint names `no_runtimeType_toString`,
`prefer_for_elements_to_map_fromIterable`, and
`prefer_iterable_whereType` to be in mixed case in
`lint_names.g.dart`.
This change adjusts them to all lower case, and renames the
corresponding declarations too. This paves the way for a follow-up CL
that will change the case conventions in `pkg/linter/messages.yaml`.
Change-Id: I6a6a6964381f9573dd735bde0ae8dfb103eef174
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/465991
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>1 parent e87bd68 commit 67d3a2cCopy full SHA for 67d3a2c
File tree
Expand file treeCollapse file tree
11 files changed
+19
-16
lines changedOpen diff view settings
Filter options
- pkg
- analysis_server/test/src/services/correction
- assist
- fix
- linter
- lib/src
- rules
- test/rules
- tool
Expand file treeCollapse file tree
11 files changed
+19
-16
lines changedOpen diff view settings
Collapse file
pkg/analysis_server/test/src/services/correction/assist/convert_to_for_element_test.dart
Copy file name to clipboardExpand all lines: pkg/analysis_server/test/src/services/correction/assist/convert_to_for_element_test.dart+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
63 | 63 | |
64 | 64 | |
65 | 65 | |
66 | | - |
| 66 | + |
67 | 67 | |
68 | 68 | |
69 | 69 | |
|
Collapse file
pkg/analysis_server/test/src/services/correction/fix/convert_to_for_element_test.dart
Copy file name to clipboardExpand all lines: pkg/analysis_server/test/src/services/correction/fix/convert_to_for_element_test.dart+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
54 | | - |
| 54 | + |
55 | 55 | |
56 | 56 | |
57 | 57 | |
|
Collapse file
pkg/analysis_server/test/src/services/correction/fix/convert_to_where_type_test.dart
Copy file name to clipboardExpand all lines: pkg/analysis_server/test/src/services/correction/fix/convert_to_where_type_test.dart+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | | - |
| 52 | + |
53 | 53 | |
54 | 54 | |
55 | 55 | |
|
Collapse file
pkg/linter/lib/src/lint_names.g.dart
Copy file name to clipboardExpand all lines: pkg/linter/lib/src/lint_names.g.dart+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
310 | 310 | |
311 | 311 | |
312 | 312 | |
313 | | - |
| 313 | + |
314 | 314 | |
315 | 315 | |
316 | 316 | |
| ||
400 | 400 | |
401 | 401 | |
402 | 402 | |
403 | | - |
404 | | - |
| 403 | + |
| 404 | + |
405 | 405 | |
406 | 406 | |
407 | 407 | |
| ||
432 | 432 | |
433 | 433 | |
434 | 434 | |
435 | | - |
| 435 | + |
436 | 436 | |
437 | 437 | |
438 | 438 | |
|
Collapse file
pkg/linter/lib/src/rules/no_runtimeType_toString.dart
Copy file name to clipboardExpand all lines: pkg/linter/lib/src/rules/no_runtimeType_toString.dart+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
pkg/linter/lib/src/rules/prefer_for_elements_to_map_fromIterable.dart
Copy file name to clipboardExpand all lines: pkg/linter/lib/src/rules/prefer_for_elements_to_map_fromIterable.dart+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
|
Collapse file
pkg/linter/lib/src/rules/prefer_iterable_whereType.dart
Copy file name to clipboardExpand all lines: pkg/linter/lib/src/rules/prefer_iterable_whereType.dart+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
|
Collapse file
pkg/linter/test/rules/no_runtimeType_toString_test.dart
Copy file name to clipboardExpand all lines: pkg/linter/test/rules/no_runtimeType_toString_test.dart+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
|
Collapse file
pkg/linter/test/rules/prefer_for_elements_to_map_fromIterable_test.dart
Copy file name to clipboardExpand all lines: pkg/linter/test/rules/prefer_for_elements_to_map_fromIterable_test.dart+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
pkg/linter/test/rules/prefer_iterable_whereType_test.dart
Copy file name to clipboardExpand all lines: pkg/linter/test/rules/prefer_iterable_whereType_test.dart+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
|
0 commit comments