Skip to content

Commit 89a40c6

Browse files
Disable ES Lint rule about global event listener
1 parent f562ee3 commit 89a40c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"no-nested-ternary": "off",
2525
"jsx-a11y/click-events-have-key-events": "off",
2626
"react-hooks/rules-of-hooks": "error",
27-
"react-hooks/exhaustive-deps": "warn"
27+
"react-hooks/exhaustive-deps": "warn",
28+
"@wordpress/no-global-event-listener": "off"
2829
}
2930
}

0 commit comments

Comments
 (0)