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