Skip to content

Make vue/no-ref-as-operand fixable #1394

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

Closed
sapphi-red opened this issue Dec 29, 2020 · 0 comments · Fixed by #1396
Closed

Make vue/no-ref-as-operand fixable #1394

sapphi-red opened this issue Dec 29, 2020 · 0 comments · Fixed by #1396

Comments

@sapphi-red
Copy link
Contributor

Tell us about your environment

  • ESLint version: 7.16.0
  • eslint-plugin-vue version: 7.4.0
  • Node version: 14.15.3

The problem you want to solve.

Your take on the correct solution to problem.
Make vue/no-ref-as-operand fixable.

Additional context

Since this autofix will change not just the format but also the meaning of the code, maybe it should not be auto-fixed.

sapphi-red added a commit to sapphi-red/eslint-plugin-vue that referenced this issue Dec 29, 2020
sapphi-red added a commit to sapphi-red/eslint-plugin-vue that referenced this issue Dec 29, 2020
ota-meshi added a commit that referenced this issue Jan 3, 2021
* Make no-ref-as-operand fixable close #1394

* dont use array for returning a single fix data

Co-authored-by: Yosuke Ota <[email protected]>

Co-authored-by: Yosuke Ota <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants