From 1dcb3db3edb809e64208c0540a7de0d41fc9f6ce Mon Sep 17 00:00:00 2001 From: goncy Date: Tue, 20 Mar 2018 08:27:23 -0300 Subject: [PATCH] Change no-unused-vars 'args' from none to all to show warning on destructured objects --- packages/eslint-config-react-app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index 54dfe334733..8527793542c 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -131,7 +131,7 @@ module.exports = { 'no-unused-vars': [ 'warn', { - args: 'none', + args: 'all', ignoreRestSiblings: true, }, ],