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

Incorrect check for defineProps #40

Closed
maico910 opened this issue Jan 29, 2022 · 1 comment
Closed

Incorrect check for defineProps #40

maico910 opened this issue Jan 29, 2022 · 1 comment

Comments

@maico910
Copy link

I'm extending plugin:vue/vue3-recommended with vue/valid-define-props to valid use of defineProps, and when I extending with @vue/airbnb, I'll get error with defineProps it's not defined:

image

image

Eslint version: 8.8.0
Vscode eslint version: v2.2.2

@maico910
Copy link
Author

I fixed the error about defineProps it's not defined add vue/setup-compiler-macros to env, like this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant