babel / eslint-plugin-babel

An ESlint rule plugin companion to babel-eslint
https://github.com/babel/babel-eslint
Other
389 stars 62 forks source link

Private methods (parser plugin 'classPrivateMethods') #166

Closed andrewmiller1 closed 4 years ago

andrewmiller1 commented 6 years ago

Private variables work but not private methods. Works with babel. In my babel config I have the plugin mentioned.

Parsing error: This experimental syntax requires enabling the parser plugin: 'classPrivateMethods'
class myClass {
  #myMethod() {
  }
}

Let me know if you need any logs

1nfility commented 4 years ago

Same error

Scrum commented 4 years ago

@hzoo Is there any movement to solve this problem?

kaicataldo commented 4 years ago

Thank you for the issue. Now that @babel/eslint-plugin has been released, we are making this repository read-only. If this is a change you would still like to advocate for, please reopen this in the babel/babel monorepo.