| 1 |
# Set up globals |
| 2 |
globals: |
| 3 |
angular: false |
| 4 |
|
| 5 |
extends: openstack |
| 6 |
|
| 7 |
# Most environment options are not explicitly enabled or disabled, only |
| 8 |
# included here for completeness' sake. They are commented out, because the |
| 9 |
# global updates.py script would otherwise override them during a global |
| 10 |
# requirements synchronization. |
| 11 |
# |
| 12 |
# Individual projects should choose which platforms they deploy to. |
| 13 |
|
| 14 |
env: |
| 15 |
# browser global variables. |
| 16 |
browser: true |
| 17 |
|
| 18 |
# Adds all of the Jasmine testing global variables for version 1.3 and 2.0. |
| 19 |
jasmine: true |
| 20 |
|
| 21 |
# Enable eslint-plugin-angular |
| 22 |
plugins: |
| 23 |
- angular |
| 24 |
|
| 25 |
# Below we adjust rules specific to horizon's usage of openstack's linting |
| 26 |
# rules, and its own plugin inclusions. |
| 27 |
rules: |
| 28 |
############################################################################# |
| 29 |
# Disabled Rules from eslint-config-openstack |
| 30 |
############################################################################# |
| 31 |
valid-jsdoc: 1 |
| 32 |
brace-style: 1 |
| 33 |
no-extra-parens: 1 |
| 34 |
consistent-return: 1 |
| 35 |
callback-return: 1 |
| 36 |
guard-for-in: 1 |
| 37 |
block-scoped-var: 1 |
| 38 |
semi-spacing: 1 |
| 39 |
no-redeclare: 1 |
| 40 |
no-new: 1 |
| 41 |
no-warning-comments: 0 |