Skip to content

Commit

Permalink
tools: enable prefer-object-has-own lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Dec 19, 2021
1 parent 06dbd2e commit 3ba9f42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ module.exports = {
{ blankLine: 'always', prev: 'function', next: 'function' },
],
'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
'prefer-object-has-own': 'error',
'quotes': ['error', 'single', { avoidEscape: true }],
'quote-props': ['error', 'consistent'],
'rest-spread-spacing': 'error',
Expand Down

0 comments on commit 3ba9f42

Please sign in to comment.