Merge pull request #15 from raphinesse/fix-linting

Fix linting
diff --git a/package.json b/package.json
index 891f2db..cf328a1 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
   },
   "scripts": {
     "test": "npm run eslint && npm run jasmine",
-    "eslint": "eslint index.js spec/fetch.spec.js",
+    "eslint": "eslint .",
     "jasmine": "jasmine spec/fetch.spec.js spec/fetch-unit.spec.js"
   },
   "engines": {
diff --git a/spec/fetch-unit.spec.js b/spec/fetch-unit.spec.js
index c13f75a..8784cfd 100644
--- a/spec/fetch-unit.spec.js
+++ b/spec/fetch-unit.spec.js
@@ -33,7 +33,7 @@
     });
 
     it('npm install should be called with production flag (default)', function (done) {
-        var opts = { cwd: 'some/path', production: true, save: true};
+        var opts = { cwd: 'some/path', production: true, save: true };
         fetch('platform', 'tmpDir', opts)
             .then(function (result) {
                 expect(superspawn.spawn).toHaveBeenCalledWith('npm', jasmine.stringMatching(/production/), jasmine.any(Object));
@@ -59,7 +59,7 @@
     });
 
     it('noprod should turn production off', function (done) {
-        var opts = { cwd: 'some/path', production: false};
+        var opts = { cwd: 'some/path', production: false };
         fetch('platform', 'tmpDir', opts)
             .then(function (result) {
                 expect(superspawn.spawn).not.toHaveBeenCalledWith('npm', jasmine.stringMatching(/production/), jasmine.any(Object));
@@ -72,7 +72,7 @@
     });
 
     it('when save is false, no-save flag should be passed through', function (done) {
-        var opts = { cwd: 'some/path', production: true, save: false};
+        var opts = { cwd: 'some/path', production: true, save: false };
         fetch('platform', 'tmpDir', opts)
             .then(function (result) {
                 expect(superspawn.spawn).toHaveBeenCalledWith('npm', jasmine.stringMatching(/--no-save/), jasmine.any(Object));