Skip to content

Commit

Permalink
feat(website): mention when JSX modes were introduced
Browse files Browse the repository at this point in the history
Include version numbers to reduce confusion.
  • Loading branch information
strager committed Jan 10, 2024
1 parent 9dd4710 commit 74fb1b2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions website/public/errors/jsx/index.ejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ <h2>JSX modes</h2>
</figcaption>
</figure>

<p>
Specifying a JSX mode in quick-lint-js.config was introduced in
quick-lint-js version 3.1.0. Prior to version 3.1.0, the JSX mode was
always <code style="json">"react"</code>.
</p>

<section id="auto">
<h3><code style="json">"auto"</code> JSX mode</h3>

Expand Down Expand Up @@ -143,6 +149,11 @@ <h3><code style="json">"auto"</code> JSX mode</h3>
</tr>
</tbody>
</table>

<p>
The <code style="json">"auto"</code> JSX mode was introduced in
quick-lint-js version 3.1.0.
</p>
</section>

<section id="react">
Expand Down Expand Up @@ -199,6 +210,12 @@ <h2>React.js (<code style="json">"react"</code> JSX mode)</h2>
</figcaption>
</figure>
</section>

<p>
The <code style="json">"react"</code> JSX mode was introduced
quick-lint-js version 2.0.0. The <code style="json">"react"</code> JSX
mode was the default JSX mode until quick-lint-js version 3.1.0.
</p>
</main>

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

0 comments on commit 74fb1b2

Please sign in to comment.