Add eslint configuration

This commit is contained in:
Tim Buckley 2015-08-03 11:20:32 -06:00
parent 887c35ea5d
commit 79ef8f2823
2 changed files with 22 additions and 0 deletions

1
.eslintignore Normal file
View File

@ -0,0 +1 @@
stackviz/static/components/

21
.eslintrc Normal file
View File

@ -0,0 +1,21 @@
# Set up globals
globals:
d3: 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
jquery: true