Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 4db315d

Browse files
committed
👕 refactor(lint): remove ignore eslint block
1 parent 247eecd commit 4db315d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/path.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,9 @@ function empty (target: any): boolean {
287287
if (target.length > 0) { return false }
288288
if (target.length === 0) { return true }
289289
} else if (isPlainObject(target)) {
290-
/* eslint-disable prefer-const */
291-
for (let key in target) {
290+
for (const key in target) {
292291
if (hasOwn(target, key)) { return false }
293292
}
294-
/* eslint-enable prefer-const */
295293
}
296294

297295
return true

0 commit comments

Comments
 (0)