-
-
Notifications
You must be signed in to change notification settings - Fork 682
vue/order-in-components computed内含有辅助函数无法自动修复 #2272
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
Comments
Well, the rule seems to work like expected. Please see https://eslint.vuejs.org/rules/order-in-components.html. |
Yes it is. The order in your screenshot it If it doesn't work as specified in the rule docs, please open a new issue following the issue template (including versions and a repository or Stackblitz or link to the eslint-plugin-vue Playground where the problem can be reproduced). |
Thanks for replying. |
So you agree that the rule is reporting the wrong sort order correctly, but you're only missing the autofix for it? |
Yes, that's the problem. |
It's because the rule can't be sure that the |
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
1.computed内含有辅助函数时, 应该自动修复;
What actually happened?
1.computed内含有辅助函数无法自动修复, 请排查, 谢谢;
Repository to reproduce this issue
The text was updated successfully, but these errors were encountered: