vue/define-macros-order
false positive with using export
#1981
Labels
vue/define-macros-order
false positive with using export
#1981
vue/define-macros-order
produces an error every time I'm trying to add anexport
toProps
. Exporting props is one of the ways how to use TypeScript with Vue.It looks like the rule doesn't handle type definitions as type definitions in case we're trying to export them. 🤔
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
No error was produced.
What actually happened?
Repository to reproduce this issue
https://github.com/Ky6uk/eslint-vue-define-macros-order-bug
The text was updated successfully, but these errors were encountered: