Treat debugger statements as lint errors

Esse commit está contido em:
Kevin Sawicki
2014-09-30 13:25:55 -07:00
commit 1f4359d429
2 arquivos alterados com 3 adições e 1 exclusões
+3
Ver Arquivo
@@ -10,5 +10,8 @@
},
"no_interpolation_in_single_quotes": {
"level": "error"
},
"no_debugger": {
"level": "error"
}
}
-1
Ver Arquivo
@@ -122,7 +122,6 @@ class MenuManager
# find an existing menu item matching the given item
findMatchingItem: (menu, {label, submenu}) ->
debugger unless menu?
for item in menu
if @normalizeLabel(item.label) is @normalizeLabel(label) and item.submenu? is submenu?
return item