mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 16:37:54 -05:00
[eslint config] [breaking] disallow empty restructuring patterns
This commit is contained in:
@@ -45,6 +45,9 @@ module.exports = {
|
||||
'arrowFunctions',
|
||||
]
|
||||
}],
|
||||
// disallow empty destructuring patterns
|
||||
// http://eslint.org/docs/rules/no-empty-pattern
|
||||
'no-empty-pattern': 2,
|
||||
// disallow Unnecessary Labels
|
||||
// http://eslint.org/docs/rules/no-extra-label
|
||||
'no-extra-label': 2,
|
||||
|
||||
Reference in New Issue
Block a user