Skip to content

Commit

Permalink
Add option to the react/jsx-indent rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 6, 2019
1 parent ed408fc commit 53591d3
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 @@ -77,7 +77,8 @@ module.exports = {
'error',
'tab',
{
checkAttributes: true
checkAttributes: true,
indentLogicalExpressions: true
}
],
'react/jsx-indent-props': [
Expand Down

0 comments on commit 53591d3

Please sign in to comment.