We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
Babel 5 came out and now allows us to use decorators - http://babeljs.io/blog/2015/03/31/5.0.0/#stage-1:-decorators
I'm really happy with this release and I implemented it in some places BUT now with linter I'm getting error:
error Unexpected character '@'
Which can't not be removed even by using // eslint-disable-line on that line..
// eslint-disable-line
Here's the code:
class Cat extends Animal { @isSiamese // eslint-disable-line @hasParam('tail') // eslint-disable-line woof() { // ... } }
What are my options in this case that does not include disabling linter or removing decorators
The text was updated successfully, but these errors were encountered:
We don't support ES7 syntax. If you are using babel-eslint as your parser, please for an issue there.
Sorry, something went wrong.
No branches or pull requests
Hello
Babel 5 came out and now allows us to use decorators - http://babeljs.io/blog/2015/03/31/5.0.0/#stage-1:-decorators
I'm really happy with this release and I implemented it in some places BUT now with linter I'm getting error:
Which can't not be removed even by using
// eslint-disable-line
on that line..Here's the code:
What are my options in this case that does not include disabling linter or removing decorators
The text was updated successfully, but these errors were encountered: