Skip to content

Commit 5ba7fe7

Browse files
committed
Always enforce strict equalities
1 parent 913456c commit 5ba7fe7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"curly": [1, "multi-line"],
2525
"dot-location": [1, "property"],
2626
"dot-notation": 1,
27-
"eqeqeq": [1, "smart"],
27+
"eqeqeq": 1,
2828
"guard-for-in": 1,
2929
"no-alert": 1,
3030
"no-caller": 2,

src/hoc/trackWindowScroll.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const trackWindowScroll = BaseComponent => {
8888
}
8989

9090
removeListeners() {
91-
if (typeof window == 'undefined' || this.useIntersectionObserver) {
91+
if (typeof window === 'undefined' || this.useIntersectionObserver) {
9292
return;
9393
}
9494

0 commit comments

Comments
 (0)