Rules
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
var contentContainer = <div className="content"></div>;
var HelloJohn = <Hello name="John"></Hello>;
var HelloJohnCompound = <Hello.Compound name="John"></Hello.Compound>;var contentContainer = <div className="content" />;
var intentionalSpace = <div>{' '}</div>;
var HelloJohn = <Hello name="John" />;
var HelloJohnCompound = <Hello.Compound name="John" />;
var Profile = <Hello name="John"><img src="picture.png" /></Hello>;
var ProfileCompound = <Hello.Compound name="John"><img src="picture.png" /></Hello.Compound>;
var HelloSpace = <Hello>{' '}</Hello>;Popular · 1 of 50
Disallow extra closing tags for components without children
var contentContainer = <div className="content"></div>;
var HelloJohn = <Hello name="John"></Hello>;
var HelloJohnCompound = <Hello.Compound name="John"></Hello.Compound>;var contentContainer = <div className="content" />;
var intentionalSpace = <div>{' '}</div>;
var HelloJohn = <Hello name="John" />;
var HelloJohnCompound = <Hello.Compound name="John" />;
var Profile = <Hello name="John"><img src="picture.png" /></Hello>;
var ProfileCompound = <Hello.Compound name="John"><img src="picture.png" /></Hello.Compound>;
var HelloSpace = <Hello>{' '}</Hello>;