From 67379fb2be2fac2b593f3e0f65ab31e0e3e55320 Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin <alexandre.ardhuin@gmail.com> Date: Wed, 5 Sep 2018 18:31:26 +0200 Subject: [PATCH] use lints from pedantic-1.1.0 (#927) --- analysis_options.yaml | 2 +- pubspec.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 326265c8..f345efbb 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,3 +1,4 @@ +include: package:pedantic/analysis_options.yaml analyzer: strong-mode: implicit-casts: false @@ -16,5 +17,4 @@ linter: rules: - await_only_futures - implementation_imports - - prefer_equal_for_default_values - prefer_typing_uninitialized_variables diff --git a/pubspec.yaml b/pubspec.yaml index b4710542..a57d13ec 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -43,6 +43,7 @@ dependencies: matcher: '>=0.12.3 <0.12.4' dev_dependencies: fake_async: '>=0.1.2 <2.0.0' + pedantic: '1.1.0' shelf_test_handler: '^1.0.0' test_descriptor: '^1.0.0' test_process: '^1.0.0' -- GitLab