Skip to content

Commit 913e156

Browse files
thenamankumarumpox
authored andcommitted
feat: enable component display name warnings for react. (#245)
1 parent 5a76f1f commit 913e156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ module.exports = {
192192
'react-hooks/exhaustive-deps': 'error',
193193
'react-hooks/rules-of-hooks': 'error',
194194
'react/button-has-type': 'error',
195-
'react/display-name': 'off',
195+
'react/display-name': 'warn',
196196
'react/forbid-dom-props': ['error', { forbid: ['style'] }],
197197
'react/jsx-boolean-value': ['error', 'always'],
198198
'react/jsx-curly-brace-presence': 'error',

0 commit comments

Comments
 (0)