Disable no-undefined
This disables the no-undefined rule. Most JavaScript projects in OpenStack, at this point, have adopted eslint-config-angular, which declares the 'definedundefined' rule requiring angular.isDefined() or angular.isUndefined() to handle this case. That makes this rule redundant, while also forcing non-production pieces of code (such as unit tests) to become unnecessarily verbose. https://github.com/Gillespie59/eslint-plugin-angular/blob/master/docs/definedundefined.md http://eslint.org/docs/rules/no-undefined Change-Id: I35ae5c8bc9e7ebb5c455d4acbe79636653448f65
This commit is contained in:
parent
a04b328444
commit
a7c3268b79
Loading…
Reference in New Issue