Skip to content

Commit

Permalink
Add "react/jsx-key" rule as a warning for now
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Jun 25, 2024
1 parent 708c4ad commit 65b69a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-plugin-wpcalypso/lib/configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
plugins: [ 'react', 'react-hooks' ],
rules: {
'react/jsx-curly-spacing': [ 2, 'always' ],
'react/jsx-key': 1,
'react/jsx-no-duplicate-props': 2,
'react/jsx-no-target-blank': 2,
'react/jsx-no-undef': 2,
Expand Down

0 comments on commit 65b69a5

Please sign in to comment.