diff --git a/analysis_options.yaml b/analysis_options.yaml index 92c06f66..2051c706 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -12,9 +12,7 @@ analyzer: linter: rules: - include: - - avoid_types_on_closure_parameters - - prefer_void_to_null - - void_checks - exclude: - - overridden_fields + - avoid_types_on_closure_parameters + - prefer_void_to_null + - void_checks + - overridden_fields: false diff --git a/pubspec.yaml b/pubspec.yaml index 462118b3..c64e0103 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -10,7 +10,7 @@ environment: sdk: '>=2.19.0 <4.0.0' dependencies: - analyzer: ">=5.0.0 <8.0.0" + analyzer: ">=5.0.0 <11.0.0" args: ^2.0.0 async: ^2.5.0 crypto: ^3.0.1