Skip to content

Commit

Permalink
Add option to react/jsx-key rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 19, 2022
1 parent 5a665cf commit b5091ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ module.exports = {
'error',
{
checkFragmentShorthand: true,
checkKeyMustBeforeSpread: true
checkKeyMustBeforeSpread: true,
warnOnDuplicates: true
}
],
'react/jsx-max-props-per-line': [
Expand Down

0 comments on commit b5091ab

Please sign in to comment.