[eslint config] [breaking] error on debugger statements

This commit is contained in:
Jordan Harband
2016-04-01 14:25:31 -07:00
parent 5ec8765a28
commit 062929ee5f

View File

@@ -9,7 +9,7 @@ module.exports = {
// disallow control characters in regular expressions
'no-control-regex': 2,
// disallow use of debugger
'no-debugger': 1,
'no-debugger': 2,
// disallow duplicate arguments in functions
'no-dupe-args': 2,
// disallow duplicate keys when creating object literals