summaryrefslogtreecommitdiff
path: root/.eslintrc
blob: 14b4feea300f50acc6da15b9c8ceb2167b2ea28f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Set up globals
globals:
  angular: false

extends: openstack

# Most environment options are not explicitly enabled or disabled, only
# included here for completeness' sake. They are commented out, because the
# global updates.py script would otherwise override them during a global
# requirements synchronization.
#
# Individual projects should choose which platforms they deploy to.

env:
  # browser global variables.
  browser: true

  # Adds all of the Jasmine testing global variables for version 1.3 and 2.0.
  jasmine: true


# Below we adjust rules specific to horizon's usage of openstack's linting
# rules, and its own plugin inclusions.
rules:

  #############################################################################
  # Angular Plugin Customization
  #############################################################################

  angular/ng_controller_as_vm:
    - 1
    - "ctrl"

  # Remove after migrating to angular 1.4 or later.
  angular/ng_no_cookiestore:
    - 1