eslint-plugin-vue
eslint-plugin-vue copied to clipboard
Add support for Reactivity Transform
Lists the work this plugin needs to do to support Reactivity Transform.
Note These changes will be released after the RFCs have been merged.
- [ ] Related to new compiler macros.
- [ ] Provide an env with global variables listed. https://eslint.org/docs/latest/developer-guide/working-with-plugins#environments-in-plugins
- [ ] Related to the change of
defineProps()
.- [ ] Change
vue/no-setup-props-destructure
rule. Destructuring assignment immediately after defineProps() is allowed. However, Vue2 doesn't allow to use Reactivity Transform, so we may need to split rules. - [ ] Change
vue/require-valid-default-prop
rule. - [ ] Change
vue/require-default-prop
rule. - [ ] Change
vue/no-boolean-default
rule. We need to support a new way to specify defaults.
- [ ] Change
And more?
Additional context
Docs: https://vuejs.org/guide/extras/reactivity-transform.html PR: https://github.com/vuejs/rfcs/pull/420 Discussion: https://github.com/vuejs/rfcs/discussions/369
related to #1793, #1798, #1799, #1947
Since Reactivity Transform is dropped & deprecated, so can we just close this issue?
Thanks for letting me know! I will close this issue.
Reactivity Transform has been moved to a Vue macro, would that make it reasonable to re-open this ticket, for developers who use this macro?
@bperel Vue Macros will add ESLint support soon.