Skip to content

Commit

Permalink
Update jsx-closing-bracket-location.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arperry authored and lencioni committed Oct 12, 2016
1 parent f8fe6e4 commit cb294da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rules/jsx-closing-bracket-location.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ module.exports = {
case 'tag-aligned':
case 'line-aligned':
indentation = /^\s*/.exec(sourceCode.lines[tokens.opening.line - 1])[0];
break;
default:
indentation = '';
}
Expand Down

0 comments on commit cb294da

Please sign in to comment.