Skip to content

Commit

Permalink
correct behavior on comma dangle for V6
Browse files Browse the repository at this point in the history
  • Loading branch information
DaneEveritt committed Nov 4, 2017
1 parent a150f9e commit fa1ffff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
"arrow-parens": [2, "as-needed"],
"class-methods-use-this": 0,
"prefer-destructuring": 0,
"no-bitwise": 0
"no-bitwise": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}]
}
}
2 changes: 1 addition & 1 deletion src/http/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,6 @@ RestServer.listen(Config.get('web.listen', 8080), Config.get('web.host', '0.0.0.
'Pterodactyl Daemon is now listening for %s connections on %s:%s',
(Config.get('web.ssl.enabled') === true) ? 'secure' : 'insecure',
Config.get('web.host', '0.0.0.0'),
Config.get('web.listen', 8080),
Config.get('web.listen', 8080)
));
});
2 changes: 1 addition & 1 deletion src/http/sftp.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ class InternalSftpServer {
this.formatFileMode(item),
item.size,
Moment(item.created).format('MMM DD HH:mm'),
item.name // eslint-disable-line
item.name
);

attrs.push({
Expand Down

0 comments on commit fa1ffff

Please sign in to comment.