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 20, 2021
1 parent cf69964 commit b0c4620
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
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 b0c4620

Please sign in to comment.