From d1ede14dd8828e99182e10ce45095884065b9186 Mon Sep 17 00:00:00 2001 From: Christopher Joe <flamer.ohr@gmail.com> Date: Mon, 22 Jan 2018 13:32:21 +1300 Subject: [PATCH] Add ignore deconstruct, because it's useful for removing properties --- .eslintrc.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 4be3645..80aa143 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -53,7 +53,8 @@ module.exports = { 'no-unused-vars': [ 'error', { - 'vars': 'local' + 'vars': 'local', + 'ignoreRestSiblings': true } ], // increased to error because it's strongly discouraged @@ -100,7 +101,7 @@ module.exports = { ], 'no-prototype-builtins': [ 'off' - ], + ], }), 'settings': { 'import/extensions': [