From 84140bb82fa77519ff9c3911f9cb2ef121c9adef Mon Sep 17 00:00:00 2001 From: naipaka Date: Tue, 18 Nov 2025 23:52:09 +0900 Subject: [PATCH 1/3] feat: support analyzer 7.x - 9.x --- packages/altive_lints/example/pubspec.yaml | 2 +- packages/altive_lints/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/altive_lints/example/pubspec.yaml b/packages/altive_lints/example/pubspec.yaml index 62d3942..66cc25e 100644 --- a/packages/altive_lints/example/pubspec.yaml +++ b/packages/altive_lints/example/pubspec.yaml @@ -13,4 +13,4 @@ dev_dependencies: altive_lints: path: ../ clock: ^1.1.2 - custom_lint: ^0.7.5 + custom_lint: ^0.8.1 diff --git a/packages/altive_lints/pubspec.yaml b/packages/altive_lints/pubspec.yaml index 448188b..dac5091 100644 --- a/packages/altive_lints/pubspec.yaml +++ b/packages/altive_lints/pubspec.yaml @@ -17,7 +17,7 @@ environment: resolution: workspace dependencies: - analyzer: ^7.4.5 + analyzer: ">=7.0.0 <10.0.0" collection: ^1.19.1 custom_lint_builder: ^0.8.0 From 8c5c70d30bc3d3ff57721884f1203a9ccdee2d21 Mon Sep 17 00:00:00 2001 From: naipaka Date: Wed, 19 Nov 2025 08:05:11 +0900 Subject: [PATCH 2/3] chore: update analysis_options.yaml to ignore deprecated_member_use warning for analyzer compatibility --- analysis_options.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/analysis_options.yaml b/analysis_options.yaml index 4446f0e..02e812b 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1 +1,6 @@ include: package:altive_lints/altive_lints.yaml +analyzer: + errors: + # Remove once we require analyzer 8.0.0 + # We currently support both 7.0 and 8.0, so we can't migrate yet. + deprecated_member_use: ignore From 51d68e3b89dca40dd99045ba261e374e9c6f5f82 Mon Sep 17 00:00:00 2001 From: naipaka Date: Wed, 19 Nov 2025 08:07:52 +0900 Subject: [PATCH 3/3] chore: migrate deprecated_member_use warning to altive_lints package for analyzer compatibility --- analysis_options.yaml | 5 ----- packages/altive_lints/analysis_options.yaml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 02e812b..4446f0e 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,6 +1 @@ include: package:altive_lints/altive_lints.yaml -analyzer: - errors: - # Remove once we require analyzer 8.0.0 - # We currently support both 7.0 and 8.0, so we can't migrate yet. - deprecated_member_use: ignore diff --git a/packages/altive_lints/analysis_options.yaml b/packages/altive_lints/analysis_options.yaml index de157a4..c419ba5 100644 --- a/packages/altive_lints/analysis_options.yaml +++ b/packages/altive_lints/analysis_options.yaml @@ -1 +1,6 @@ include: lib/altive_lints.yaml +analyzer: + errors: + # Remove once we require analyzer 8.0.0 + # We currently support both 7.0 and 8.0, so we can't migrate yet. + deprecated_member_use: ignore