[eslint config] [breaking] disallow empty restructuring patterns

This commit is contained in:
Jordan Harband
2016-04-17 12:52:23 -07:00
parent 3efe10d42e
commit 140ce8b56c

View File

@@ -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,