Skip to content

Commit 7bf85ad

Browse files
committed
requires jsx fragments in element syntax over shorthand
1 parent 323cded commit 7bf85ad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

configs/react/rules/react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ module.exports = {
452452

453453
// Enforce shorthand or standard form for React fragments
454454
// https://github.com/yannickcr/eslint-plugin-react/blob/bc976b837abeab1dffd90ac6168b746a83fc83cc/docs/rules/jsx-fragments.md
455-
'react/jsx-fragments': ['error', 'syntax'],
455+
'react/jsx-fragments': ['error', 'element'],
456456

457457
// Enforce linebreaks in curly braces in JSX attributes and expressions.
458458
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-newline.md

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trbl/eslint-config",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"main": "index.js",
55
"repository": "git@github.com:trouble/eslint-config.git",
66
"description": "Please do not feed the dust bunnies.",

0 commit comments

Comments
 (0)