Enable "no-new" and "guard-for-in"

This patch enables both the "no-new" and the "guard-for-in" rules
from upstream eslint-config-openstack. There were no detected
violations for the former, and the latter is only set to "warn"
in eslint-config-openstack.

http://eslint.org/docs/rules/no-new
http://eslint.org/docs/rules/guard-for-in

Change-Id: Iac9eaba6ac3532795ce26e55d1304ba3c67ccff2
This commit is contained in:
Michael Krotscheck 2015-11-25 08:18:10 -08:00
parent c6c7110a9c
commit b68efcaffb
1 changed files with 0 additions and 2 deletions

View File

@ -30,9 +30,7 @@ rules:
brace-style: 1
no-extra-parens: 1
callback-return: 1
guard-for-in: 1
block-scoped-var: 1
no-new: 1
#############################################################################
# Angular Plugin Customization