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 foo = '\xA9';
const bar = '\u2661';
const baz = '\uD83D\uDCA9';const foo = '\u{A9}';
const bar = '\u{2661}';
const baz = '\u{1F4A9}';Popular · 1 of 50
Prefer Unicode code point escapes over legacy escape sequences.
const foo = '\xA9';
const bar = '\u2661';
const baz = '\uD83D\uDCA9';const foo = '\u{A9}';
const bar = '\u{2661}';
const baz = '\u{1F4A9}';