Skip to content
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

Auto fix of vue/attribute-hyphenation rule cause error on passing props to child component #2228

Closed
2 tasks done
levchak0910 opened this issue Jul 3, 2023 · 0 comments · Fixed by #2229
Closed
2 tasks done

Comments

@levchak0910
Copy link
Contributor

levchak0910 commented Jul 3, 2023

Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have read the FAQ and my problem is not listed.

Tell us about your environment

  • ESLint version: ^8.15.0
  • eslint-plugin-vue version: 9.15.1
  • Node version: 16.20.1
  • Operating System: Linux Ubuntu

Please show your full configuration:

{
  rules: {
    "vue/attribute-hyphenation": "error"
  }
}

What did you do?

link to reproduction

What did you expect to happen?

Do not auto fix attribute name

What actually happened?

Fixer changed property name, what caused incorrect data passing to child component

Repository to reproduce this issue

Link above ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant