jsx-eslint/eslint-plugin-react

Inconsistent documentation: self-closing-comp.md

Open

#3,852 建立於 2024年11月16日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (8,630 star) (2,797 fork)batch import
documentationhelp wanted

描述

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.

貢獻者指南

Inconsistent documentation: self-closing-comp.md · jsx-eslint/eslint-plugin-react#3852 | Good First Issue