From b68efcaffb9be11a29ec2dddc58a5a7bcf4a79dd Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Wed, 25 Nov 2015 08:18:10 -0800 Subject: [PATCH] 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 --- .eslintrc | 2 -- 1 file changed, 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 4ee886d180..c72cd6e095 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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