Skip to content

Commit 288a3ca

Browse files
committed
Enable prefer-object-has-own rule
1 parent dfa969c commit 288a3ca

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -643,10 +643,7 @@ module.exports = {
643643
},
644644
],
645645
'prefer-numeric-literals': 'error',
646-
647-
// TODO: Enable when targeting Node.js 16.
648-
// 'prefer-object-has-own': 'error',
649-
646+
'prefer-object-has-own': 'error',
650647
'prefer-rest-params': 'error',
651648
'prefer-spread': 'error',
652649
'require-yield': 'error',

0 commit comments

Comments
 (0)