jsx-eslint/eslint-plugin-react

[Bug]: `non-jsx` is listed in `react/jsx-one-expression-per-line` options but is not available

mirabtellegen opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues and my issue is unique
  • My issue appears in the command-line and not only in the text editor

Description Overview

In these docs for the eslint rule react/jsx-one-expression-per-line, a non-jsx allow option is mentioned that seems unavailable.

eslint rule docs

Expected Behavior

I would love for this option to become available, but it should otherwise be removed from the docs

eslint-plugin-react version

v7.31.11

eslint version

v8.28.0

node version

v8.19.2

That feature was released in v7.34.0. You're on v7.31.11. If you update to the latest you should be fine.