mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:39:48 +00:00
add assist association for curly_braces_in_flow_control_structures
See: https://github.com/dart-lang/linter/issues/1374 Change-Id: I151170ee2374a726dc6be037b25e1c7a54729bec Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115266 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
0a272400ec
commit
da502f85a7
|
@ -232,6 +232,9 @@ class DartAssistKind {
|
|||
'dart.assist.surround.tryFinally', 29, "Surround with 'try-finally'");
|
||||
static const SURROUND_WITH_WHILE = const AssistKind(
|
||||
'dart.assist.surround.while', 24, "Surround with 'while'");
|
||||
static const USE_CURLY_BRACES =
|
||||
const AssistKind('USE_CURLY_BRACES', 30, "Use curly braces");
|
||||
static const USE_CURLY_BRACES = const AssistKind(
|
||||
'USE_CURLY_BRACES', 30, "Use curly braces",
|
||||
associatedErrorCodes: <String>[
|
||||
'curly_braces_in_flow_control_structures',
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue