Migrate to new lint package

This commit is contained in:
Ming Ming 2021-09-15 05:24:09 +08:00
parent 34fa4b92aa
commit 0be61f652f
3 changed files with 16 additions and 0 deletions

1
analysis_options.yaml Normal file
View file

@ -0,0 +1 @@
include: package:flutter_lints/flutter.yaml

View file

@ -297,6 +297,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.2" version: "3.0.2"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
flutter_localizations: flutter_localizations:
dependency: "direct main" dependency: "direct main"
description: flutter description: flutter
@ -440,6 +447,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.0" version: "3.0.0"
lints:
dependency: transitive
description:
name: lints
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
logging: logging:
dependency: "direct main" dependency: "direct main"
description: description:

View file

@ -83,6 +83,7 @@ dependencies:
dev_dependencies: dev_dependencies:
test: any test: any
bloc_test: any bloc_test: any
flutter_lints: ^1.0.4
# flutter_test: # flutter_test:
# sdk: flutter # sdk: flutter
# integration_test: # integration_test: