Skip to content

Commit a9122f0

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

+2-1
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)