Skip to content

Commit b0c4620

Browse files
committed
tools: enable prefer-object-has-own lint rule
1 parent cf69964 commit b0c4620

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ module.exports = {
313313
{ blankLine: 'always', prev: 'function', next: 'function' },
314314
],
315315
'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
316+
'prefer-object-has-own': 'error',
316317
'quotes': ['error', 'single', { avoidEscape: true }],
317318
'quote-props': ['error', 'consistent'],
318319
'rest-spread-spacing': 'error',

0 commit comments

Comments
 (0)