summaryrefslogtreecommitdiff
path: root/test/manual/indent/jsx-comment-string.jsx
blob: 37a6c3233d843e149892824fe00a45781c528d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Local Variables:
// indent-tabs-mode: nil
// js-indent-level: 2
// End:

// The following tests go below any comments to avoid including
// misindented comments among the erroring lines.

// The JSX-like text in comments/strings should be treated like the enclosing
// syntax, not like JSX.

// <Foo>
void 0

"<Bar>"
void 0