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.
const re = /foo bar/;
const re1 = new RegExp("foo bar");const re = /foo {3}bar/;
const re1 = new RegExp("foo {3}bar");Popular · 1 of 30
Disallow multiple spaces in regular expressions
const re = /foo bar/;
const re1 = new RegExp("foo bar");const re = /foo {3}bar/;
const re1 = new RegExp("foo {3}bar");