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

Support for defineSlots and slots option #2125

Closed
ota-meshi opened this issue Apr 4, 2023 · 1 comment · Fixed by #2154
Closed

Support for defineSlots and slots option #2125

ota-meshi opened this issue Apr 4, 2023 · 1 comment · Fixed by #2154

Comments

@ota-meshi
Copy link
Member

Tell us about your environment

  • ESLint version: v8.36.0
  • eslint-plugin-vue version: v9.10.0
  • Node version: v18.12.1

The problem you want to solve.

Support for defineSlots macro and slots option.

See https://github.com/vuejs/core/blob/main/CHANGELOG.md#330-alpha7-2023-04-03

Your take on the correct solution to problem.

Parser and some rules are affected. However, we have not yet listed the affected rules.
I think that, first, we need to list the rules affected by defineSlots and slots option.

Additional context

Related to vuejs/vue-eslint-parser#184

@ota-meshi
Copy link
Member Author

ota-meshi commented May 12, 2023

It probably doesn't affect anything other than vue/order-in-components (#2153) and vue/define-macros-order (#2154) rules.
However, it may be useful to have new rules.

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