From bfa5c71de389db286e093d34ab687780bfc620b4 Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Thu, 12 Nov 2015 14:35:48 -0800 Subject: Upgraded eslint-config-openstack to 1.2.3 This updates eslint-config-openstack to 1.2.3, and downgrades the new rules so we can tackle them one at a time. Change-Id: I3d7a20a6141a8748a60ceefcd33a1310456302dd --- .eslintrc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index 14b4feea3..80b56f829 100644 --- a/.eslintrc +++ b/.eslintrc @@ -22,6 +22,25 @@ env: # Below we adjust rules specific to horizon's usage of openstack's linting # rules, and its own plugin inclusions. rules: + ############################################################################# + # Disabled Rules from eslint-config-openstack + ############################################################################# + valid-jsdoc: 1 + no-undefined: 1 + brace-style: 1 + no-multi-spaces: 1 + no-unused-vars: 1 + strict: 1 + no-extra-parens: 1 + eqeqeq: 1 + consistent-return: 1 + callback-return: 1 + radix: 1 + guard-for-in: 1 + block-scoped-var: 1 + semi-spacing: 1 + no-redeclare: 1 + no-new: 1 ############################################################################# # Angular Plugin Customization @@ -33,4 +52,4 @@ rules: # Remove after migrating to angular 1.4 or later. angular/ng_no_cookiestore: - - 1 \ No newline at end of file + - 1 -- cgit v1.2.1