From 5af83b582c9546022061bab44cfffee97f9e4616 Mon Sep 17 00:00:00 2001 From: Travis Tripp Date: Thu, 9 Jul 2015 16:39:25 -0600 Subject: [PATCH] Change the ESLINT controller as to ctrl This rule forces the controller to be named vm. This is too strict and also is a very overload term in OpenStack. So, making this a warning and looking for ctrl. Change-Id: Ieadf2f0b2d91c3c6979a6a65652d37f0c2980178 Partially-Implements: blueprint jscs-cleanup --- .eslintrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.eslintrc b/.eslintrc index c0e7ab40f7..c09506baba 100644 --- a/.eslintrc +++ b/.eslintrc @@ -63,6 +63,14 @@ env: # them. rules: + ############################################################################# + # Angular Plugin Customization + ############################################################################# + + angular/ng_controller_as_vm: + - 1 + - "ctrl" + ############################################################################# # Possible Errors #############################################################################