The openstack eslint package is just really not needed at this
point. Use standardjs and run --fix on it.
Switch away from using node 8 to run linters and tests.
Change-Id: I51f68d4ec30c8da5d1601ef00045e53f90d0554b
New linting rule to disable spaces after functions, before parens
Fixed all new linting errors
I suppose I'd like this to eventually get landed in official
`eslint-config-openstack` project, but for now it is here
Change-Id: I6c77524c5679117ce3b211db0bd9943c5ad5e646
The newest eslint-config-openstack provides all the
ES2015-related extra rules we had in the local .eslintrc,
so that they can be removed.
Also, cloudsYamlPath.js was modified to adapt to
`keyword-spacing` rule modifications in eslint v3.
Change-Id: I55198a323a0ada7a74f425d21db42306d9548cb7
The whole project is going to use ES2015, so it's important to
enforce usage of the new syntax to the project code homogeneous.
This commit enforces usage of arrow functions where possible,
let/const instead of var and rest/spread operator instead of
arguments and call/apply.
Change-Id: I2fd33400d7d4a3ed23363ceaaf0c2d2f1bd55c47
This patch creates a very simple index.js file which uses
ES2015. It then creates a very simple Babel compile step
which converts this into a usable library.
Change-Id: I6a64843793297bcf784372002853d506f348c0d5
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