Skip to content

Commit 8c59423

Browse files
authored
Merge pull request #3002 from github/koesie10/jsx-key-rule
Enable `react/jsx-key` for fragment shorthands
2 parents d20cf92 + c928b1e commit 8c59423

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extensions/ql-vscode/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ const baseConfig = {
7171
"no-shadow": "off",
7272
"github/array-foreach": "off",
7373
"github/no-then": "off",
74+
"react/jsx-key": ["error", { checkFragmentShorthand: true }],
7475
},
7576
};
7677

0 commit comments

Comments
 (0)