a4c47b80f7
Set up package to use eslint-openstack-config for linting. Amended existing files to ensure they pass linting tests. Change-Id: I55dfe4cd9cdee99f19b80147df73f66951ca1372
23 lines
320 B
Plaintext
23 lines
320 B
Plaintext
# Enable eslint-plugin-angular
|
|
plugins:
|
|
- angular
|
|
|
|
extends: openstack
|
|
|
|
# Set up globals
|
|
globals:
|
|
angular: false
|
|
module: false
|
|
|
|
env:
|
|
browser: true
|
|
jasmine: true
|
|
|
|
rules:
|
|
angular/no-private-call: 0
|
|
angular/no-services:
|
|
- 2
|
|
- - $http
|
|
- $resource
|
|
- Restangular
|
|
angular/no-service-method: 0 |