From f3be81c49f6d2181b0e9d7aac7c60956868d9ffc Mon Sep 17 00:00:00 2001 From: Joel Noyce Barnham Date: Sun, 5 Feb 2017 19:24:10 +0000 Subject: [PATCH] Enable linting .js files which are not stored in the client directory & fix some lint errors shown on those files --- hot.proxy.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hot.proxy.js b/hot.proxy.js index 38f96ae..70fe5e3 100644 --- a/hot.proxy.js +++ b/hot.proxy.js @@ -28,12 +28,12 @@ app.use(webpackDevMiddleware(compiler, { noInfo: true, publicPath: config.output app.use(webpackHotMiddleware(compiler)); app.use(proxy('http://localhost:' + port)); -port++ +port++; app.listen(port, function(error) { if (error) { console.error(error); } else { - console.info("==> 🌎 Listening on port %s. Open up http://localhost:%s/ in your browser.", port, port); + console.info('==> 🌎 Listening on port %s. Open up http://localhost:%s/ in your browser.', port, port); } }); diff --git a/package.json b/package.json index e38f01f..f6b04d2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "", "scripts": { - "eslint": "eslint client", + "eslint": "eslint *.js client", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "olebedev",