-
-
Notifications
You must be signed in to change notification settings - Fork 670
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
vue-class-component support #469
Comments
I also wonder if there is a plan to support it. |
It would require lots of tweaking. AST of Class is different than Object. I didn't give it a thought yet. But it might be wise to reconsider. |
Sorry guys, but unless class based API is an official one supported by Vue, we won’t introduce support for it, due to the technical complications and not many requests. We do however work on improving TypeScript support, so unless you use vue-class-component you’ll be covered. |
vue-class-component is now officially supported by vue team . is there any news about this feature support ? |
@osman-mohamad i started working on it some time ago, but its not ready to be used by users. but as michalsnik mentioned we added some support for object components in badd051 6032f21 |
i hope thats answer your question |
thank you @armano2 . |
Any chance that rules like prop order enforcement will work with vue-class-component in further releases? I believe TS would be more and more valuable for vue users. But tooling around ts+vue looks unfinished mostly. |
@alendorff recently i'm fixing issues in https://github.com/JamesHenry/typescript-estree and https://github.com/eslint/typescript-eslint-parser to make it possible, it's going to take some time but we are on good path |
@armano2 here are new mantained version now - https://github.com/typescript-eslint/typescript-eslint |
I still get this error...
|
Is there any progress or an alternative for using these eslint rules in combination with vue-class-component? |
Is
vue-class-component
support is available?Docs does not have any information about it.
If it is not available, do you have any plans about it?
Things I have tried:
This does not work. However, linting
export default {}
components works fine.Here's my full setup: https://github.com/wemake-services/wemake-vue-template
The text was updated successfully, but these errors were encountered: