Skip to content

Add ignorerestsiblings to no-unused-vars eslint rule #21

@chrstph-dvx

Description

@chrstph-dvx

In some case, it might be convenient to omit few properties from an object, and never use them.
Example: const { propertyToOmit, ...rest } = object;

https://eslint.org/docs/latest/rules/no-unused-vars#ignorerestsiblings

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions