From 03dd415ef6deea52d2c2b3f00ce32798fa9ff84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Trys=C5=82a?= Date: Thu, 21 Apr 2022 16:54:42 +0200 Subject: [PATCH] fix: add missing ignoreRestSiblings to allow to omit values in destructurization --- node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/node.js b/node.js index 26623f7..b31c41f 100644 --- a/node.js +++ b/node.js @@ -6,6 +6,7 @@ const WARNING = 1; const ERROR = 2; const NO_UNUSED_VARS_OPTIONS = { + ignoreRestSiblings: true, argsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_', };