mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-01 12:42:50 +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': [
|
||||
'warn',
|
||||
{
|
||||
args: 'none',
|
||||
args: 'all',
|
||||
ignoreRestSiblings: true,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user