mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
eslint: strict equality
Enforce use of ===/!== and fix existing issues.
This commit is contained in:
committed by
David Lechner
parent
1d9dd82191
commit
e01fb1fbe9
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user