mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Seems like a lint was renamed. (#12034)
* Seems like a lint was renamed. Lint `- unnecessary_brace_in_string_interp` is not in the list here: http://dart-lang.github.io/linter/lints/ In linter [0.1.30](9652dd44b6/CHANGELOG.md (0130)
): [http://dart-lang.github.io/linter/lints/unnecessary_brace_in_string_interp.html](unnecessary_brace_in_string_interp) In linter [0.1.2](9652dd44b6/CHANGELOG.md (012)
): [http://dart-lang.github.io/linter/lints/unnecessary_brace_in_string_interps.html](unnecessary_brace_in_string_interps) * Fix lint tests. analyze_once_test.dart and create_test.dart
This commit is contained in:
parent
8a441ae72b
commit
97dd12cf83
@ -85,7 +85,7 @@ linter:
|
|||||||
# - type_annotate_public_apis # subset of always_specify_types
|
# - type_annotate_public_apis # subset of always_specify_types
|
||||||
- type_init_formals
|
- type_init_formals
|
||||||
# - unawaited_futures
|
# - unawaited_futures
|
||||||
- unnecessary_brace_in_string_interp
|
- unnecessary_brace_in_string_interps
|
||||||
- unnecessary_getters_setters
|
- unnecessary_getters_setters
|
||||||
|
|
||||||
# === pub rules ===
|
# === pub rules ===
|
||||||
|
@ -108,7 +108,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
'You have pushed the button this many times:',
|
'You have pushed the button this many times:',
|
||||||
),
|
),
|
||||||
new Text(
|
new Text(
|
||||||
'${_counter}',
|
'$_counter',
|
||||||
style: Theme.of(context).textTheme.display1,
|
style: Theme.of(context).textTheme.display1,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user