Skip to content

Commit

Permalink
Add react/jsx-curly-newline rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 6, 2019
1 parent 01c920c commit c075fa8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ module.exports = {
}
],
'react/jsx-closing-tag-location': 'error',
'react/jsx-curly-newline': [
'error',
{
multiline: 'consistent',
singleline: 'forbid'
}
],
'react/jsx-curly-spacing': [
'error',
'never'
Expand Down

0 comments on commit c075fa8

Please sign in to comment.