We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d286fa5 commit a083b52Copy full SHA for a083b52
lib/rules/a11y-aria-label-is-readable.js
@@ -1,4 +1,4 @@
1
-const {getProp, getPropValue} = require('jsx-ast-utils')
+const {getProp} = require('jsx-ast-utils')
2
3
module.exports = {
4
meta: {
@@ -19,7 +19,7 @@ module.exports = {
19
if (propValue.type !== 'Literal') return
20
21
const ariaLabel = propValue.value
22
- if (ariaLabel.match(/^[a-z]+[a-z\-\.\s]*$/)) {
+ if (ariaLabel.match(/^[a-z]+[a-z\-\s]*$/)) {
23
context.report({
24
node,
25
message:
0 commit comments