no-empty-pattern
Configuration
rslint.config.ts
Rule Details
Disallow empty destructuring patterns. Empty destructuring patterns do not create any variables and may be a sign of a mistake.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
Options
allowObjectPatternsAsParameters: Iftrue, allows empty object patterns as function parameters. Default:false.