jsx-eslint/eslint-plugin-react

Inconsistent documentation: self-closing-comp.md

Open

#3,852 opened on Nov 16, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (2,797 forks)batch import
documentationhelp wanted

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Currently in self-closing-comp.md, the first correct includes var contentContainer = <div className="content"></div>;. Given the rest of that section, the default options, and further examples below this should be in the incorrect section or the description for these examples should indicate the html option is set to false.

Contributor guide