mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-29 01:45:40 +08:00
Merge pull request #4187 from goncy/unused-vars-not-showing-on-destructured-objects
Change no-unused-vars 'args' from none to all to show warning on destructing
This commit is contained in:
@@ -131,7 +131,7 @@ module.exports = {
|
|||||||
'no-unused-vars': [
|
'no-unused-vars': [
|
||||||
'warn',
|
'warn',
|
||||||
{
|
{
|
||||||
args: 'none',
|
args: 'all',
|
||||||
ignoreRestSiblings: true,
|
ignoreRestSiblings: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user