tslint-react
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "tslint-react", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "React-specific rules for TSLint", | ||
@@ -5,0 +5,0 @@ "main": "tslint-react.json", |
@@ -51,3 +51,3 @@ /** | ||
JsxAlignmentWalker.prototype.visitJsxElement = function (node) { | ||
if (this.isMultiline(node)) { | ||
if (this.isMultiline(node.openingElement)) { | ||
var startLocation = this.getLineAndCharacter(node); | ||
@@ -54,0 +54,0 @@ var closeLocation = this.getSourceFile().getLineAndCharacterOfPosition(node.openingElement.getEnd() - ">".length); |
19507