Skip to content

Improved vue/no-ref-as-operand rule. #1180

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

Merged
merged 1 commit into from
Jun 5, 2020
Merged

Conversation

ota-meshi
Copy link
Member

  • Changed vue/no-ref-as-operand rule to additionally track variables generated by computed, toRef, customRef and shallowRef.
  • Changed vue/no-ref-as-operand rule to report incorrect use of TemplateLiteral and MemberExpression.

- Changed `vue/no-ref-as-operand` rule to additionally track variables generated by `computed`, `toRef`, `customRef` and `shallowRef`.
- Changed `vue/no-ref-as-operand` rule to report incorrect use of TemplateLiteral and MemberExpression.
@ota-meshi ota-meshi self-assigned this May 31, 2020
@ota-meshi ota-meshi merged commit 083ea82 into master Jun 5, 2020
@ota-meshi ota-meshi deleted the fix-no-ref-as-operand branch June 5, 2020 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant