jsx-eslint/eslint-plugin-react

Inconsistent documentation: self-closing-comp.md

Open

Aperta il 16 nov 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (8630 star) (2797 fork)batch import
documentationhelp wanted

Descrizione

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.

Guida contributor