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.
let Component = (props) => <ol>{props.data.map(d => <li>{d.text}</li>)}</ol>;let Component = (props) => <ol><For each={props.data}>{d => <li>{d.text}</li>}</For></ol>;Popular · 1 of 1
Enforce using Solid's <For /> component for mapping an array to JSX elements.
let Component = (props) => <ol>{props.data.map(d => <li>{d.text}</li>)}</ol>;let Component = (props) => <ol><For each={props.data}>{d => <li>{d.text}</li>}</For></ol>;