Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
Enable linting .js files which are not stored in the client directory…
Browse files Browse the repository at this point in the history
… & fix some lint errors shown on those files
  • Loading branch information
joelnb committed May 1, 2017
1 parent a715946 commit f3be81c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hot.proxy.js
Expand Up @@ -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);
}
});
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit f3be81c

Please sign in to comment.