eslint: strict equality

Enforce use of ===/!== and fix existing issues.
This commit is contained in:
David Lechner
2022-11-23 17:20:45 -06:00
committed by David Lechner
parent 1d9dd82191
commit e01fb1fbe9
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ const Docs: React.VFC = () => {
? e.metaKey && !e.ctrlKey
: e.ctrlKey && !e.metaKey) &&
!e.altKey &&
e.key == 'd'
e.key === 'd'
) {
e.preventDefault();
// since the iframe is only visible when docs are shown