Skip to content

Commit

Permalink
Remove redundant word in array
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Jul 20, 2022
1 parent cd9d7eb commit eb5d423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/a11y-no-generic-link-text.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const {elementType, getProp, getPropValue} = require('jsx-ast-utils')

const bannedLinkText = ['read more', 'here', 'click here', 'learn more', 'more', 'here']
const bannedLinkText = ['read more', 'here', 'click here', 'learn more', 'more']

/* Downcase and strip extra whitespaces and punctuation */
const stripAndDowncaseText = text => {
Expand Down

0 comments on commit eb5d423

Please sign in to comment.