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:
parent
c6c7110a9c
commit
b68efcaffb
|
@ -30,9 +30,7 @@ rules:
|
||||||
brace-style: 1
|
brace-style: 1
|
||||||
no-extra-parens: 1
|
no-extra-parens: 1
|
||||||
callback-return: 1
|
callback-return: 1
|
||||||
guard-for-in: 1
|
|
||||||
block-scoped-var: 1
|
block-scoped-var: 1
|
||||||
no-new: 1
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Angular Plugin Customization
|
# Angular Plugin Customization
|
||||||
|
|
Loading…
Reference in New Issue