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 a = b = c = 5;
const foo = bar = "baz";
let d =
e =
c;
class Foo {
a = b = 10;
}
a = b = "quux";let a = 5;
let b = 5;
const c = 5;
const foo = "baz";
const bar = "baz";
let d = c;
let e = c;
class Foo {
a = 10;
b = 10;
}
a = "quux";
b = "quux";Popular · 1 of 50
Disallow use of chained assignment expressions
let a = b = c = 5;
const foo = bar = "baz";
let d =
e =
c;
class Foo {
a = b = 10;
}
a = b = "quux";let a = 5;
let b = 5;
const c = 5;
const foo = "baz";
const bar = "baz";
let d = c;
let e = c;
class Foo {
a = 10;
b = 10;
}
a = "quux";
b = "quux";