From 4c7e189fcd5194253beb5f332c8398e778546323 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 21 Oct 2020 14:42:56 +0800 Subject: [PATCH] chore: update --- packages/typescript/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typescript/index.js b/packages/typescript/index.js index cf58587..cf3a68f 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -16,7 +16,7 @@ module.exports = { '@typescript-eslint/type-annotation-spacing': ['error', {}], 'no-unused-vars': 'off', - '@typescript-eslint/no-unused-vars': [2, { args: 'none' }], + '@typescript-eslint/no-unused-vars': [2, { args: 'none', ignoreRestSiblings: true }], 'no-redeclare': 'off', '@typescript-eslint/no-redeclare': 'error',