Skip to content

Commit

Permalink
Turn off react/jsx-one-expression-per-line rule (#7)
Browse files Browse the repository at this point in the history
Right now, it's making code harder to read.

See: jsx-eslint/eslint-plugin-react#1848
  • Loading branch information
HoangPaul committed Mar 1, 2019
1 parent b268163 commit a9122f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module.exports = {
'object-curly-newline': ["error", { "consistent": true }],
'import/extensions': 0,
'react/no-did-mount-set-state': 1,
'react/no-did-update-set-state': 1
'react/no-did-update-set-state': 1,
'react/jsx-one-expression-per-line': 0,
}
}

0 comments on commit a9122f0

Please sign in to comment.