Skip to content

Commit adcaefd

Browse files
committed
Add hierarchical analysis_options.yaml support for test files
1 parent 4829499 commit adcaefd

File tree

30 files changed

+154
-29
lines changed

30 files changed

+154
-29
lines changed

lib/src/lints/avoid_debug_print_in_release/avoid_debug_print_in_release_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ your `debugPrint` call in a `!kReleaseMode` check.""",
5959
}
6060

6161
@override
62-
void run(
62+
void runRule(
6363
CustomLintResolver resolver,
6464
ErrorReporter reporter,
6565
CustomLintContext context,

lib/src/lints/avoid_final_with_getter/avoid_final_with_getter_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class AvoidFinalWithGetterRule extends SolidLintRule {
5454
}
5555

5656
@override
57-
void run(
57+
void runRule(
5858
CustomLintResolver resolver,
5959
ErrorReporter reporter,
6060
CustomLintContext context,

lib/src/lints/avoid_global_state/avoid_global_state_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class AvoidGlobalStateRule extends SolidLintRule {
5555
}
5656

5757
@override
58-
void run(
58+
void runRule(
5959
CustomLintResolver resolver,
6060
ErrorReporter reporter,
6161
CustomLintContext context,

lib/src/lints/avoid_late_keyword/avoid_late_keyword_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class AvoidLateKeywordRule extends SolidLintRule<AvoidLateKeywordParameters> {
6969
}
7070

7171
@override
72-
void run(
72+
void runRule(
7373
CustomLintResolver resolver,
7474
ErrorReporter reporter,
7575
CustomLintContext context,

lib/src/lints/avoid_non_null_assertion/avoid_non_null_assertion_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class AvoidNonNullAssertionRule extends SolidLintRule {
5858
}
5959

6060
@override
61-
void run(
61+
void runRule(
6262
CustomLintResolver resolver,
6363
ErrorReporter reporter,
6464
CustomLintContext context,

lib/src/lints/avoid_returning_widgets/avoid_returning_widgets_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class AvoidReturningWidgetsRule
7575
}
7676

7777
@override
78-
void run(
78+
void runRule(
7979
CustomLintResolver resolver,
8080
ErrorReporter reporter,
8181
CustomLintContext context,

lib/src/lints/avoid_unnecessary_setstate/avoid_unnecessary_set_state_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class AvoidUnnecessarySetStateRule extends SolidLintRule {
7575
}
7676

7777
@override
78-
void run(
78+
void runRule(
7979
CustomLintResolver resolver,
8080
ErrorReporter reporter,
8181
CustomLintContext context,

lib/src/lints/avoid_unnecessary_type_assertions/avoid_unnecessary_type_assertions_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class AvoidUnnecessaryTypeAssertions extends SolidLintRule {
7070
}
7171

7272
@override
73-
void run(
73+
void runRule(
7474
CustomLintResolver resolver,
7575
ErrorReporter reporter,
7676
CustomLintContext context,

lib/src/lints/avoid_unnecessary_type_casts/avoid_unnecessary_type_casts_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AvoidUnnecessaryTypeCastsRule extends SolidLintRule {
3131
}
3232

3333
@override
34-
void run(
34+
void runRule(
3535
CustomLintResolver resolver,
3636
error_listener.ErrorReporter reporter,
3737
CustomLintContext context,

lib/src/lints/avoid_unrelated_type_assertions/avoid_unrelated_type_assertions_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class AvoidUnrelatedTypeAssertionsRule extends SolidLintRule {
2929
}
3030

3131
@override
32-
void run(
32+
void runRule(
3333
CustomLintResolver resolver,
3434
ErrorReporter reporter,
3535
CustomLintContext context,

0 commit comments

Comments
 (0)