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
What did you do?
I defined two defineModel calls as is allowed in vue 3.4.
What did you expect to happen?
Both defineModel calls are treated the first macro "group" and they are sorted alphabetically.
What actually happened?
npm run lint:ts
> vue-eslint-multiple-define-model@1.0.0 lint:ts
> eslint --ext .vue .
/Users/hendrik/projects/stafftastic/vue-eslint-multiple-define-model/reproduction.vue
9:1 error defineModel should be the first statement in `<script setup>` (after any potential import statements or type definitions) vue/define-macros-order
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
I defined two defineModel calls as is allowed in vue 3.4.
What did you expect to happen?
Both defineModel calls are treated the first macro "group" and they are sorted alphabetically.
What actually happened?
Repository to reproduce this issue
https://github.com/hendrikheil/vue-eslint-multiple-define-model
The text was updated successfully, but these errors were encountered: