From b3fcb882ff572c27463e1a60b742b81d26d57de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Thu, 4 Jul 2019 23:38:58 +0200 Subject: [PATCH] feat(typescript): allow unused vars starting with underscores (#111) --- rules/typescript.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/typescript.js b/rules/typescript.js index f6e1ecbc..aabb6467 100644 --- a/rules/typescript.js +++ b/rules/typescript.js @@ -42,6 +42,7 @@ module.exports = { '@typescript-eslint/no-unused-vars': [ 'error', { + argsIgnorePattern: '^_', ignoreRestSiblings: true, }, ],