Skip to content

Commit 53685b9

Browse files
committed
update to new DeprecatedInfo
1 parent f0b914d commit 53685b9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/rules/a11y-no-generic-link-text.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ export default {
2323
recommended: false,
2424
},
2525
deprecated: {
26-
replacedBy: ['jsx-a11y/anchor-ambiguous-text'],
26+
message: 'It was replaced by `jsx-a11y/anchor-ambiguous-text`.',
27+
replacedBy: [
28+
{
29+
rule: {
30+
name: 'jsx-a11y/anchor-ambiguous-text',
31+
},
32+
},
33+
],
2734
},
2835
schema: [],
2936
messages: {

0 commit comments

Comments
 (0)