diff --git a/lib/src/model/package_builder.dart b/lib/src/model/package_builder.dart index bc3322618a..c6bc71d127 100644 --- a/lib/src/model/package_builder.dart +++ b/lib/src/model/package_builder.dart @@ -147,7 +147,7 @@ class PubPackageBuilder implements PackageBuilder { required DartSdk sdk, }) => analysisOptions - ..hint = false + ..warning = false ..lint = false, ); diff --git a/pubspec.yaml b/pubspec.yaml index 6dc036edfe..f5c4528d1d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ^3.0.0 dependencies: - analyzer: ^6.0.0 + analyzer: ^6.1.0 args: ^2.4.1 cli_util: ^0.4.0 collection: ^1.17.0