Skip to content

[Bug]: Docs for jsx/closing-tag-location do not specify Rule Options #3628

@nahinojo

Description

@nahinojo

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

The documentation for jsx/closing-tag-location do not provide any guidance on for Rule Options.

Link to documentation for jsx/closing-tag-location

I am not entirely sure what the valid rule options are for jsx/closing-tag-location since such guidance is not provided in the rule's documentation. Yet I somewhat figured out what the valid options are by referencing the similar rule: jsx/closing-bracket-location.

(I don't intend to provide any 'example code' or steps for reproducibility since this is a documentation concern, obviously.)

I hope I don't seem like a complainer, I just want to ensure this issue is made aware of :)

Expected Behavior

I expect the documentation for this rule to guide newcomers on what the valid rule options are.

See jsx/closing-bracket-location documentation for what I expect the documentation to look like.

eslint-plugin-react version

latest

eslint version

latest

node version

latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions