Merge pull request #3002 from github/koesie10/jsx-key-rule
Enable `react/jsx-key` for fragment shorthands
This commit is contained in:
@@ -71,6 +71,7 @@ const baseConfig = {
|
||||
"no-shadow": "off",
|
||||
"github/array-foreach": "off",
|
||||
"github/no-then": "off",
|
||||
"react/jsx-key": ["error", { checkFragmentShorthand: true }],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user