This repository was archived by the owner on Jul 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
lib/src/analyzers/lint_analyzer/rules/rules_list/avoid_global_state Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+
5+ * chore: restrict ` analyzer ` version to ` >=4.1.0 <4.7.0 ` .
6+
37## 4.18.0-dev.1
48
59* chore: restrict ` analyzer ` version to ` >=4.1.0 <4.5.0 ` .
610* chore: restrict ` analyzer_plugin ` version to ` >=0.11.0 <0.12.0 ` .
711
12+ ## 4.17.1
13+
14+ * chore: restrict ` analyzer ` version to ` >=4.0.0 <4.7.0 ` .
15+
816## 4.17.0
917
1018* feat: add configuration to [ ` prefer-moving-to-variable ` ] ( https://dartcodemetrics.dev/docs/rules/common/prefer-moving-to-variable ) .
Original file line number Diff line number Diff line change 1+ // ignore_for_file: deprecated_member_use
2+
13part of 'avoid_global_state_rule.dart' ;
24
35class _Visitor extends RecursiveAstVisitor <void > {
@@ -9,7 +11,6 @@ class _Visitor extends RecursiveAstVisitor<void> {
911 void visitVariableDeclaration (VariableDeclaration node) {
1012 super .visitVariableDeclaration (node);
1113
12- // ignore: deprecated_member_use
1314 if (node.declaredElement? .enclosingElement is CompilationUnitElement ) {
1415 if (_isNodeValid (node)) {
1516 _declarations.add (node);
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ environment:
1010 sdk : " >=2.17.0 <3.0.0"
1111
1212dependencies :
13- analyzer : " >=4.1.0 <4.5 .0"
13+ analyzer : " >=4.1.0 <4.7 .0"
1414 analyzer_plugin : " >=0.11.0 <0.12.0"
1515 ansicolor : ^2.0.1
1616 args : ^2.0.0
You can’t perform that action at this time.
0 commit comments