Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /