Skip to content

Commit ed0074d

Browse files
committed
Responding to review comments; remove unnecessary assignment
1 parent f91fa08 commit ed0074d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ const errorMessage =
3232

3333
const domElements = [...dom.keys()];
3434
const defaultInteractiveProps = eventHandlers;
35-
const schema = arraySchema;
3635

3736
module.exports = {
3837
meta: {
3938
docs: {},
40-
schema: [schema],
39+
schema: [arraySchema],
4140
},
4241

4342
create: (context: ESLintContext) => {

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ const errorMessage =
3333

3434
const domElements = [...dom.keys()];
3535
const defaultInteractiveProps = eventHandlers;
36-
const schema = arraySchema;
3736

3837
module.exports = {
3938
meta: {
4039
docs: {},
41-
schema: [schema],
40+
schema: [arraySchema],
4241
},
4342

4443
create: (context: ESLintContext) => {

0 commit comments

Comments
 (0)