Skip to content

Commit b5091ab

Browse files
committed
Add option to react/jsx-key rule
1 parent 5a665cf commit b5091ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ module.exports = {
128128
'error',
129129
{
130130
checkFragmentShorthand: true,
131-
checkKeyMustBeforeSpread: true
131+
checkKeyMustBeforeSpread: true,
132+
warnOnDuplicates: true
132133
}
133134
],
134135
'react/jsx-max-props-per-line': [

0 commit comments

Comments
 (0)