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:
pq 2019-09-03 18:24:57 +00:00 committed by commit-bot@chromium.org
parent 0a272400ec
commit da502f85a7

View file

@ -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',
]);
}