contactlab / eslint-config-contactlab

Contactlab ESLint extensible and sharable configuration.
https://contactlab.github.io/eslint-config-contactlab
Apache License 2.0
2 stars 0 forks source link

no-unused-vars - destructuredArrayIgnorePattern: starts with _ #448

Closed StefanoMagrassi closed 2 years ago

StefanoMagrassi commented 2 years ago

This PR adds the destructuredArrayIgnorePattern option to the no-unused-vars rule in order to make legit unused elements of destructured arrays which start with _.

This change applies to both js and ts config thanks to version 5.17.0 of @typescript-eslint

resolves #447