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
This commit is contained in:
Travis Tripp 2015-07-09 16:39:25 -06:00
parent 5f62bc36a1
commit 5af83b582c
1 changed files with 8 additions and 0 deletions

View File

@ -63,6 +63,14 @@ env:
# them.
rules:
#############################################################################
# Angular Plugin Customization
#############################################################################
angular/ng_controller_as_vm:
- 1
- "ctrl"
#############################################################################
# Possible Errors
#############################################################################