From 677be6b00934754fbf8bd53b3677275c9ca4979d Mon Sep 17 00:00:00 2001 From: Matthew Nitschke Date: Wed, 16 Oct 2024 18:04:23 +0000 Subject: [PATCH] Migrates to workiva_analysis_options v2 --- analysis_options.yaml | 11 +---------- pubspec.yaml | 1 + 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 92c06f66..217644e6 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,5 +1,5 @@ +include: package:workiva_analysis_options/v2.yaml include: package:lints/recommended.yaml - analyzer: exclude: - test/**/fixtures/** @@ -9,12 +9,3 @@ analyzer: strong-mode: implicit-casts: true implicit-dynamic: true - -linter: - rules: - include: - - avoid_types_on_closure_parameters - - prefer_void_to_null - - void_checks - exclude: - - overridden_fields diff --git a/pubspec.yaml b/pubspec.yaml index 0b0906bf..479f3af6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,3 +32,4 @@ dev_dependencies: test: ^1.15.7 test_descriptor: ^2.0.0 test_process: ^2.0.0 + workiva_analysis_options: ^1.4.1