update linter rule
This commit is contained in:
parent
799da089af
commit
6a27559de4
|
@ -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"
|
||||||
|
|
|
@ -17,3 +17,4 @@ test_app/chains.json
|
||||||
.eslintrc.json
|
.eslintrc.json
|
||||||
.embark/
|
.embark/
|
||||||
NOTES
|
NOTES
|
||||||
|
npm-debug.log
|
||||||
|
|
|
@ -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(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue