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 foo = 1;
let invalid = {
foo: foo
};let foo = 1;
let valid = {
foo,
bar() { return "bar"; },
};Popular · 1 of 27
Require or disallow method and property shorthand syntax for object literals in <template>
let foo = 1;
let invalid = {
foo: foo
};let foo = 1;
let valid = {
foo,
bar() { return "bar"; },
};