Skip to content

Commit 0315e91

Browse files
committed
fix: enable rule
1 parent 1933ecb commit 0315e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-config-react/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = {
5959
// These are rules soon to be enabled by airbnb react config
6060
// We're getting a head start
6161
'react/no-adjacent-inline-elements': 'error', // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-adjacent-inline-elements.md
62-
'prefer-object-has-own': 'off', // https://eslint.org/docs/rules/prefer-object-has-own
62+
'prefer-object-has-own': 'error', // https://eslint.org/docs/rules/prefer-object-has-own
6363

6464
// To have consistent ordering in proptypes
6565
'react/sort-prop-types': [

0 commit comments

Comments
 (0)