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:
parent
f4ccfb1604
commit
7d3bf213f5
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue