Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standard -F doesn't fix space-before-function-paren in class #337

Closed
mblakele opened this issue Nov 19, 2015 · 1 comment

Comments

@mblakele
Copy link

commented Nov 19, 2015

Test case:

const ServerBase = require('./server-base')

class ExternalServer extends ServerBase {

  getServerConfig() { return this.config.server.external }

  initRoutes() { require('./routes/external')(this.app) }

  getServerType() { return 'external' }
}

module.exports = ExternalServer

Running standard -F 5.4.1 I see three space-before-function-paren errors, but they aren't automatically fixed. Other minor problems like indent size and eol-last are fixed.

@bcomnes

This comment has been minimized.

Copy link
Member

commented Nov 19, 2015

@bcomnes bcomnes closed this Nov 19, 2015

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.