mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
fix warnings
This commit is contained in:
3
cherrypick/.gitignore
vendored
3
cherrypick/.gitignore
vendored
@@ -19,3 +19,6 @@ doc/api/
|
||||
*.js_
|
||||
*.js.deps
|
||||
*.js.map
|
||||
|
||||
# FVM Version Cache
|
||||
.fvm/
|
||||
@@ -109,6 +109,7 @@ abstract class ApiClient {
|
||||
}
|
||||
|
||||
class ApiClientMock implements ApiClient {
|
||||
@override
|
||||
Future sendRequest({
|
||||
@required String? url,
|
||||
String? token,
|
||||
@@ -120,6 +121,7 @@ class ApiClientMock implements ApiClient {
|
||||
}
|
||||
|
||||
class ApiClientImpl implements ApiClient {
|
||||
@override
|
||||
Future sendRequest({
|
||||
@required String? url,
|
||||
String? token,
|
||||
|
||||
@@ -13,9 +13,7 @@ dependencies:
|
||||
meta: ^1.3.0
|
||||
|
||||
dev_dependencies:
|
||||
#pedantic: ^1.11.0
|
||||
|
||||
test: ^1.17.2
|
||||
lints: ^5.0.0
|
||||
test: ^1.25.15
|
||||
|
||||
mockito: ^5.0.6
|
||||
lints: ^2.1.0
|
||||
|
||||
@@ -18,7 +18,8 @@ dependencies:
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: ^4.0.0
|
||||
flutter_lints: ^5.0.0
|
||||
test: ^1.25.7
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
10
melos.yaml
10
melos.yaml
@@ -8,8 +8,10 @@ packages:
|
||||
|
||||
scripts:
|
||||
analyze:
|
||||
run: |
|
||||
flutter analyze
|
||||
exec: dart analyze
|
||||
|
||||
format:
|
||||
run: |
|
||||
flutter format
|
||||
exec: dart format
|
||||
|
||||
test:
|
||||
exec: dart test ./test
|
||||
Reference in New Issue
Block a user