You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
If decorator is applied to the method with computed property key, eslint throws parse error. Is this the correct behavior?
@autobind[method](arg){// do something}
Eslint throws error on the first {, saying : Parsing error: Unexpected token.
Latest eslint and babel-eslint
The text was updated successfully, but these errors were encountered:
leonid-bauxy
changed the title
Decorators on computed properties
Parsing error if decorators are applied to methods with computed properties
May 10, 2016
It's not broken, it has never been supported. This is what @hzoo is trying to say above. We should close this and open an issue in Babylon, the parser Babel uses.
If decorator is applied to the method with computed property key, eslint throws parse error. Is this the correct behavior?
Eslint throws error on the first
{
, saying :Parsing error: Unexpected token
.Latest
eslint
andbabel-eslint
The text was updated successfully, but these errors were encountered: