summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorTravis Tripp <travis.tripp@hp.com>2015-07-09 16:39:25 -0600
committerTravis Tripp <travis.tripp@hp.com>2015-07-09 16:50:21 -0600
commit5af83b582c9546022061bab44cfffee97f9e4616 (patch)
treed963203a1a2432c40b0f217953e9a63887249fe5 /.eslintrc
parent5f62bc36a18dcd1e7bceadb657e17cb6b983b28e (diff)
downloadhorizon-5af83b582c9546022061bab44cfffee97f9e4616.tar.gz
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
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index c0e7ab40f..c09506bab 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -64,6 +64,14 @@ env:
rules:
#############################################################################
+ # Angular Plugin Customization
+ #############################################################################
+
+ angular/ng_controller_as_vm:
+ - 1
+ - "ctrl"
+
+ #############################################################################
# Possible Errors
#############################################################################