From eb854d0d20080c19c78786454f9c1152d40e1e98 Mon Sep 17 00:00:00 2001 From: solid-glebvorobey <132369081+solid-glebvorobey@users.noreply.github.com> Date: Wed, 18 Sep 2024 22:20:13 +0200 Subject: [PATCH] Try to update analyzer version --- .../avoid_unnecessary_type_assertions_rule.dart | 2 +- .../lints/double_literal_format/double_literal_format_rule.dart | 2 +- lib/src/models/rule_config.dart | 2 +- lib/src/utils/parameter_utils.dart | 2 +- pubspec.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/src/lints/avoid_unnecessary_type_assertions/avoid_unnecessary_type_assertions_rule.dart b/lib/src/lints/avoid_unnecessary_type_assertions/avoid_unnecessary_type_assertions_rule.dart index dc117c39..20d088c9 100644 --- a/lib/src/lints/avoid_unnecessary_type_assertions/avoid_unnecessary_type_assertions_rule.dart +++ b/lib/src/lints/avoid_unnecessary_type_assertions/avoid_unnecessary_type_assertions_rule.dart @@ -1,6 +1,6 @@ import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/type.dart'; -import 'package:analyzer/error/error.dart' hide LintCode; +import 'package:analyzer/error/error.dart'; import 'package:analyzer/error/listener.dart'; import 'package:analyzer/source/source_range.dart'; import 'package:custom_lint_builder/custom_lint_builder.dart'; diff --git a/lib/src/lints/double_literal_format/double_literal_format_rule.dart b/lib/src/lints/double_literal_format/double_literal_format_rule.dart index 6ad34d63..d32664b4 100644 --- a/lib/src/lints/double_literal_format/double_literal_format_rule.dart +++ b/lib/src/lints/double_literal_format/double_literal_format_rule.dart @@ -1,4 +1,4 @@ -import 'package:analyzer/error/error.dart' hide LintCode; +import 'package:analyzer/error/error.dart'; import 'package:analyzer/error/listener.dart'; import 'package:analyzer/source/source_range.dart'; import 'package:custom_lint_builder/custom_lint_builder.dart'; diff --git a/lib/src/models/rule_config.dart b/lib/src/models/rule_config.dart index ffc170a7..d2429b9d 100644 --- a/lib/src/models/rule_config.dart +++ b/lib/src/models/rule_config.dart @@ -1,4 +1,4 @@ -import 'package:analyzer/error/error.dart' hide LintCode; +import 'package:analyzer/error/error.dart'; import 'package:custom_lint_builder/custom_lint_builder.dart'; /// Type definition of a value factory which allows us to map data from diff --git a/lib/src/utils/parameter_utils.dart b/lib/src/utils/parameter_utils.dart index b7eff59f..fdbd647c 100644 --- a/lib/src/utils/parameter_utils.dart +++ b/lib/src/utils/parameter_utils.dart @@ -1,5 +1,5 @@ import 'package:analyzer/dart/ast/ast.dart'; -import 'package:analyzer/error/error.dart' hide LintCode; +import 'package:analyzer/error/error.dart'; import 'package:custom_lint_builder/custom_lint_builder.dart'; /// Checks if parameter name consists only of underscores diff --git a/pubspec.yaml b/pubspec.yaml index eea0b1af..4a3f3291 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - analyzer: ^6.6.0 + analyzer: ^6.7.0 collection: ^1.17.2 custom_lint_builder: ^0.6.7 glob: ^2.1.2