Skip to content

Commit b176102

Browse files
committed
Turn off react/jsx-one-expression-per-line rule
Right now, it's making code harder to read. See: jsx-eslint/eslint-plugin-react#1848
1 parent b268163 commit b176102

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module.exports = {
5959
'object-curly-newline': ["error", { "consistent": true }],
6060
'import/extensions': 0,
6161
'react/no-did-mount-set-state': 1,
62-
'react/no-did-update-set-state': 1
62+
'react/no-did-update-set-state': 1,
63+
'react/jsx-one-expression-per-line': 0,
6364
}
6465
}

0 commit comments

Comments
 (0)