Changelog - 2026-10-18
A _name variable may name an omitted value
EnhancementIn one line. const { page: _page, ...rest } = query; passes lint without a local override.
What changed
NamingConventionRulehas a selector for a variable whose name starts with_followed by more characters: the underscore is allowed and the rest must still be camelCase, UPPER_CASE or PascalCase (_bad_namestill fails).NoUnusedVarsRuledefaultsvarsIgnorePatternto^_, so the omitted value is not reported as unused. Pass your own pattern to change it.
Who is affected
- Projects that kept a local selector for this. Delete it.
- Everyone else. One more name shape allowed; nothing new fails.
Files: packages/dev-configs/src/linters/rules/naming-convention.rule.ts, packages/dev-configs/src/linters/rules/no-unused-vars.rule.ts