     indent =  0
     isFirstTagOfBlock = true
     @JSXREGEXP.lastIndex = 0
+    @templateDepth = 0
 
     for row in [range.start.row..range.end.row]
       isFirstTokenOfLine = true

          # Javascript brace Start { or switch brace start { or paren ( or back-tick `start
          when BRACE_OPEN, SWITCH_BRACE_OPEN, PAREN_OPEN, TEMPLATE_START
            tokenOnThisLine = true
            if isFirstTokenOfLine
              stackOfTokensStillOpen.push parentTokenIdx = stackOfTokensStillOpen.pop()
              if isFirstTagOfBlock and

  # option contains row to indent and allowAdditionalIndents flag
  indentRow: (options) ->
    { row, allowAdditionalIndents, blockIndent, jsxIndent, jsxIndentProps } = options
    if @templateDepth > 0 then return false # don't indent inside a template
    # calc overall indent
    if jsxIndent
      if @eslintIndentOptions.jsxIndent[0]
