Skip to content

Commit

Permalink
Enable prefer-object-has-own rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 6, 2024
1 parent dfa969c commit 288a3ca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,10 +643,7 @@ module.exports = {
},
],
'prefer-numeric-literals': 'error',

// TODO: Enable when targeting Node.js 16.
// 'prefer-object-has-own': 'error',

'prefer-object-has-own': 'error',
'prefer-rest-params': 'error',
'prefer-spread': 'error',
'require-yield': 'error',
Expand Down

0 comments on commit 288a3ca

Please sign in to comment.