Skip to content

Commit dd395d2

Browse files
authored
Update reference to UNUSED_ELEMENT_PARAMETER (dart-archive/linter#4377)
1 parent 725f4a6 commit dd395d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/rules/use_enums_test.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ class _E {
113113
error(WarningCode.UNUSED_ELEMENT, 6, 2),
114114
error(WarningCode.UNUSED_FIELD, 29, 1),
115115
error(WarningCode.UNUSED_FIELD, 57, 1),
116-
error(WarningCode.UNUSED_ELEMENT_PARAMETER, 83, 1),
116+
// We are reversing the deprecation: This code will remain a `HintCode`.
117+
// ignore: deprecated_member_use
118+
error(HintCode.UNUSED_ELEMENT_PARAMETER, 83, 1),
117119
]);
118120
}
119121

0 commit comments

Comments
 (0)