Closed
Description
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
- Provide an env with global variables listed.
- 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: vuejs/rfcs#420
Discussion: vuejs/rfcs#369