Skip to content

Commit abfe955

Browse files
committed
[Fix] no-static-element-interactions, no-noninteractive-tabindex: add allowExpressionValues to schema
1 parent 8f75961 commit abfe955

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/rules/no-noninteractive-tabindex.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ const schema = generateObjSchema({
3434
...arraySchema,
3535
description: 'An array of HTML tag names',
3636
},
37+
allowExpressionValues: {
38+
type: 'boolean',
39+
},
3740
});
3841

3942
export default ({

src/rules/no-static-element-interactions.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ const defaultInteractiveProps = [].concat(
3737
);
3838
const schema = generateObjSchema({
3939
handlers: arraySchema,
40+
allowExpressionValues: {
41+
type: 'boolean',
42+
},
4043
});
4144

4245
export default ({

0 commit comments

Comments
 (0)