Updated eslint

Eslint has been moved from dependencies to devDependencies. The
.eslintrc file has been updated to enable ecma 2015 features,
and a .eslintignore file has been added with common file exclusions.

Change-Id: Icb12699bc1517bd4d1ab7e8632d57dc8e32524e5
This commit is contained in:
Michael Krotscheck 2016-06-21 13:40:11 -07:00
parent 02daa2e338
commit 0e09469508
3 changed files with 12 additions and 3 deletions

6
.eslintignore Normal file
View File

@ -0,0 +1,6 @@
dist
.npm
node_modules
npm-debug.log
package
doc

View File

@ -1 +1,4 @@
extends: openstack
parserOptions:
ecmaVersion: 6

View File

@ -17,8 +17,8 @@
"author": "OpenStack <openstack-dev@lists.openstack.org>",
"license": "Apache-2.0",
"homepage": "http://www.openstack.org/",
"dependencies": {
"eslint": "^1.5.1",
"eslint-config-openstack": "^1.2.4"
"devDependencies": {
"eslint": "^2.4.0",
"eslint-config-openstack": "2.0.0"
}
}