Upgraded eslint-plugin-angular

Disabled rules that are currently failing. We can re-enable these as
we go.

Change-Id: Id3560a7edd300d34cbe12f76ff2e6599794bb1c9
This commit is contained in:
Michael Krotscheck 2016-02-17 10:02:04 -08:00
parent f4ccfb1604
commit 7d3bf213f5
3 changed files with 12 additions and 3 deletions

View File

@ -12,3 +12,12 @@ globals:
env:
browser: true
jasmine: true
rules:
angular/no-private-call: 0
angular/no-services:
- 2
- - $http
- $resource
- Restangular
angular/no-service-method: 0

View File

@ -19,10 +19,10 @@
* available at the provided url. It will expose a variable on the control to
* which it is applied, with an array of detected API versions.
*/
/*eslint-disable angular/ng_no_services */
/*eslint-disable angular/no-services */
angular.module('ironic.api').directive('ironicApiUrl',
function ($q, $http) {
/*eslint-enable angular/ng_no_services */
/*eslint-enable angular/no-services */
'use strict';
return {

View File

@ -24,7 +24,7 @@
"del": "1.2.1",
"eslint": "1.10.3",
"eslint-config-openstack": "1.2.3",
"eslint-plugin-angular": "0.4.0",
"eslint-plugin-angular": "0.15.0",
"gulp": "3.9.0",
"gulp-concat": "2.6.0",
"gulp-consolidate": "0.1.2",