From 57f22168e52d91eb959d387b7efc4770058a434e Mon Sep 17 00:00:00 2001 From: Dmitry Krutskikh Date: Thu, 19 May 2022 07:41:35 +0300 Subject: [PATCH] chore: restrict analyzer version to >=2.4.0 <4.2.0 --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b351b0c46b..a3e01b2b78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +* chore: restrict `analyzer` version to `>=2.4.0 <4.2.0`. + ## 4.15.2 * feat: add the `ignored-patterns` option to [`format-comment`](https://dartcodemetrics.dev/docs/rules/common/format-comment). The given regular expressions will be used to ignore comments that match them. diff --git a/pubspec.yaml b/pubspec.yaml index 5fdb616b40..d104815542 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -10,7 +10,7 @@ environment: sdk: ">=2.14.0 <3.0.0" dependencies: - analyzer: ">=2.4.0 <4.1.0" + analyzer: ">=2.4.0 <4.2.0" analyzer_plugin: ">=0.8.0 <0.11.0" ansicolor: ^2.0.1 args: ^2.0.0