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