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 recommends space between function name and parenthesis in class body, but Standard-Format removes the space #405

Closed
devlouisc opened this issue Feb 6, 2016 · 1 comment

Comments

@devlouisc
Copy link

commented Feb 6, 2016

For the following code, Standard returns no errors but Standard-Format removes the space between the function name and parenthesis leading to a linting error.

'use strict'

class A {
  constructor () {
    this.field = null
  }

  func () {
    return null
  }
}

module.exports = A
@devlouisc

This comment has been minimized.

Copy link
Author

commented Feb 6, 2016

Sorry, looks like this issue has already been reported on the standard-format project.

@devlouisc devlouisc closed this Feb 6, 2016

@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.
1 participant
You can’t perform that action at this time.