Skip to content

Commit a083b52

Browse files
committed
Fix lint
1 parent d286fa5 commit a083b52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/a11y-aria-label-is-readable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {getProp, getPropValue} = require('jsx-ast-utils')
1+
const {getProp} = require('jsx-ast-utils')
22

33
module.exports = {
44
meta: {
@@ -19,7 +19,7 @@ module.exports = {
1919
if (propValue.type !== 'Literal') return
2020

2121
const ariaLabel = propValue.value
22-
if (ariaLabel.match(/^[a-z]+[a-z\-\.\s]*$/)) {
22+
if (ariaLabel.match(/^[a-z]+[a-z\-\s]*$/)) {
2323
context.report({
2424
node,
2525
message:

0 commit comments

Comments
 (0)