Skip to content

Commit 6ff0f02

Browse files
authored
Update dependencies (#3)
* Update dependencies Due to a newer linter version the syntax in geo_feature_builder.dart needed to be modified. * Use latest language version for formatter
1 parent 8143c58 commit 6ff0f02

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/build/geo_feature_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class GeoFeatureBuilder implements Builder{
4040
..body.add(buildGeoFeatureClass(propertiesToExtract))
4141
..body.add(buildGeoCoderClass(geoJSONData, propertiesToExtract))
4242
);
43-
final code = DartFormatter(fixes: StyleFix.all).format(library.accept(
43+
final code = DartFormatter(languageVersion: DartFormatter.latestLanguageVersion).format(library.accept(
4444
DartEmitter(allocator: Allocator()),
4545
).toString());
4646

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ environment:
99
dependencies:
1010
latlong2: ^0.9.0
1111
flatbush_dart: ^1.2.2
12-
build: ^2.4.1
12+
build: ^3.0.0
1313
code_builder: ^4.7.0
14-
dart_style: ^2.3.0
14+
dart_style: ^3.1.1
1515
recase: ^4.1.0
1616

1717
dev_dependencies:
18-
lints: ^2.0.0
18+
lints: ^6.0.0
1919
build_runner: any
20-
build_test: ^2.2.1
20+
build_test: ^3.3.0
2121
test: ^1.24.8

0 commit comments

Comments
 (0)