From 6a27559de468d76fa438f8f1910543a7b835f167 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 19 Dec 2017 09:54:39 -0500 Subject: [PATCH] update linter rule --- .eslintrc.json | 2 +- .gitignore | 1 + lib/modules/webserver/index.js | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 85c5a5962..5f28a0992 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -88,7 +88,7 @@ "max-nested-callbacks": "error", "max-params": "off", "max-statements": "off", - "max-statements-per-line": "error", + "max-statements-per-line": "off", "multiline-ternary": [ "error", "never" diff --git a/.gitignore b/.gitignore index ee11b61f9..fc82297fd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ test_app/chains.json .eslintrc.json .embark/ NOTES +npm-debug.log diff --git a/lib/modules/webserver/index.js b/lib/modules/webserver/index.js index 7d50a4a92..96dea2910 100644 --- a/lib/modules/webserver/index.js +++ b/lib/modules/webserver/index.js @@ -42,8 +42,8 @@ class WebServer { } listenToCommands() { - this.events.setCommandHandler('start-webserver', () => { this.server.start() }); - this.events.setCommandHandler('stop-webserver', () => { this.server.stop() }); + this.events.setCommandHandler('start-webserver', () => { this.server.start(); }); + this.events.setCommandHandler('stop-webserver', () => { this.server.stop(); }); } }