Skip to content

Commit 09adc22

Browse files
committed
[eslint config] [patch] jsx-a11y/no-noninteractive-tabindex: allow expression values
1 parent 51a37d0 commit 09adc22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/eslint-config-airbnb/rules/react-a11y.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ module.exports = {
192192
'jsx-a11y/no-noninteractive-tabindex': ['error', {
193193
tags: [],
194194
roles: ['tabpanel'],
195+
allowExpressionValues: true,
195196
}],
196197

197198
// require onBlur instead of onChange

0 commit comments

Comments
 (0)