File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- ## 3.1.3-wip
1+ ## 3.1.3
22
3+ * Support ` analyzer: '>=8.2.0 <10.0.0' ` .
34* No longer format imports with configurations and a prefix in the wrong order.
45 The parser used to accept this without error even though it violated the
56 language spec. The parser is being fixed, so the formatter will no longer
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import 'show.dart';
1313import 'summary.dart' ;
1414
1515// Note: The following line of code is modified by tool/grind.dart.
16- const dartStyleVersion = '3.1.3-wip ' ;
16+ const dartStyleVersion = '3.1.3' ;
1717
1818/// Global options parsed from the command line that affect how the formatter
1919/// produces and uses its outputs.
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ final class DartFormatter {
200200 source: stringSource,
201201 offset: token.offset - inputOffset,
202202 length: math.max (token.length, 1 ),
203- diagnosticCode: ParserErrorCode .UNEXPECTED_TOKEN ,
203+ diagnosticCode: ParserErrorCode .unexpectedToken ,
204204 arguments: [token.lexeme],
205205 );
206206 throw FormatterException ([error]);
Original file line number Diff line number Diff line change 11name : dart_style
22# Note: See tool/grind.dart for how to bump the version.
3- version : 3.1.3-wip
3+ version : 3.1.3
44description : >-
55 Opinionated, automatic Dart source code formatter.
66 Provides an API and a CLI tool.
@@ -9,7 +9,7 @@ environment:
99 sdk : ^3.7.0
1010
1111dependencies :
12- analyzer : ^8.1.0
12+ analyzer : ' >=8.2.0 <10.0.0 '
1313 args : ^2.0.0
1414 collection : ^1.19.0
1515 package_config : ^2.1.0
You can’t perform that action at this time.
0 commit comments