Promote no-undef to be treated as an error (#669)

Fixes #498
This commit is contained in:
Dan Abramov
2016-09-17 23:08:58 +03:00
committed by GitHub
parent a5bf07476b
commit feae8f05d4

View File

@@ -126,7 +126,7 @@ module.exports = {
'no-template-curly-in-string': 'warn',
'no-this-before-super': 'warn',
'no-throw-literal': 'warn',
'no-undef': 'warn',
'no-undef': 'error',
'no-unexpected-multiline': 'warn',
'no-unreachable': 'warn',
'no-unused-expressions': 'warn',