update linter rule

This commit is contained in:
Iuri Matias 2017-12-19 09:54:39 -05:00
parent 799da089af
commit 6a27559de4
3 changed files with 4 additions and 3 deletions

View File

@ -88,7 +88,7 @@
"max-nested-callbacks": "error", "max-nested-callbacks": "error",
"max-params": "off", "max-params": "off",
"max-statements": "off", "max-statements": "off",
"max-statements-per-line": "error", "max-statements-per-line": "off",
"multiline-ternary": [ "multiline-ternary": [
"error", "error",
"never" "never"

1
.gitignore vendored
View File

@ -17,3 +17,4 @@ test_app/chains.json
.eslintrc.json .eslintrc.json
.embark/ .embark/
NOTES NOTES
npm-debug.log

View File

@ -42,8 +42,8 @@ class WebServer {
} }
listenToCommands() { listenToCommands() {
this.events.setCommandHandler('start-webserver', () => { this.server.start() }); this.events.setCommandHandler('start-webserver', () => { this.server.start(); });
this.events.setCommandHandler('stop-webserver', () => { this.server.stop() }); this.events.setCommandHandler('stop-webserver', () => { this.server.stop(); });
} }
} }