Skip to content

Commit 98363fd

Browse files
committed
lint: sort pub dependencies
1 parent ad6af2a commit 98363fd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# https://dart.dev/guides/language/analysis-options
12
include: package:lints/recommended.yaml
23

34
analyzer:
@@ -21,6 +22,7 @@ linter:
2122
- package_api_docs
2223
- prefer_relative_imports
2324
- prefer_single_quotes
25+
- sort_pub_dependencies
2426
- test_types_in_equals
2527
- throw_in_finally
2628
- type_annotate_public_apis

pkgs/shelf_router/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ environment:
99
sdk: '>=2.17.0 <3.0.0'
1010

1111
dependencies:
12+
http_methods: ^1.1.0
1213
meta: ^1.3.0
1314
shelf: ^1.0.0
14-
http_methods: ^1.1.0
1515

1616
dev_dependencies:
17-
test: ^1.16.0
18-
lints: ^2.0.0
1917
http: ^0.13.0
18+
lints: ^2.0.0
19+
test: ^1.16.0

0 commit comments

Comments
 (0)