Skip to content

Commit 74fb1b2

Browse files
committed
feat(website): mention when JSX modes were introduced
Include version numbers to reduce confusion.
1 parent 9dd4710 commit 74fb1b2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

website/public/errors/jsx/index.ejs.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ <h2>JSX modes</h2>
7777
</figcaption>
7878
</figure>
7979

80+
<p>
81+
Specifying a JSX mode in quick-lint-js.config was introduced in
82+
quick-lint-js version 3.1.0. Prior to version 3.1.0, the JSX mode was
83+
always <code style="json">"react"</code>.
84+
</p>
85+
8086
<section id="auto">
8187
<h3><code style="json">"auto"</code> JSX mode</h3>
8288

@@ -143,6 +149,11 @@ <h3><code style="json">"auto"</code> JSX mode</h3>
143149
</tr>
144150
</tbody>
145151
</table>
152+
153+
<p>
154+
The <code style="json">"auto"</code> JSX mode was introduced in
155+
quick-lint-js version 3.1.0.
156+
</p>
146157
</section>
147158

148159
<section id="react">
@@ -199,6 +210,12 @@ <h2>React.js (<code style="json">"react"</code> JSX mode)</h2>
199210
</figcaption>
200211
</figure>
201212
</section>
213+
214+
<p>
215+
The <code style="json">"react"</code> JSX mode was introduced
216+
quick-lint-js version 2.0.0. The <code style="json">"react"</code> JSX
217+
mode was the default JSX mode until quick-lint-js version 3.1.0.
218+
</p>
202219
</main>
203220

204221
<footer><%- await include("../../common-footer-nav.ejs.html") %></footer>

0 commit comments

Comments
 (0)