Skip to content

Make order-in-components rule fixable #299

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
ifraixedes opened this issue Dec 21, 2017 · 2 comments
Closed

Make order-in-components rule fixable #299

ifraixedes opened this issue Dec 21, 2017 · 2 comments

Comments

@ifraixedes
Copy link

ifraixedes commented Dec 21, 2017

Tell us about your environment

  • ESLint Version: 3.19.0
  • eslint-plugin-vue Version: 4.0.0-beta.3
  • Node Version: 9.3.0

Question

I'm wondering if the rule order-in-components could not be auto fixable by --fix

@michalsnik
Copy link
Member

michalsnik commented Dec 21, 2017

Hey @ifraixedes 👋 It probably is. Maybe not that easy but should be doable.
Though we have slightly different priorities now, so not every rule have been written with fix functionality unfortunately.

If you'd like to help us with this one, feel free :) Pull Requests are always welcome 🙌

@ifraixedes
Copy link
Author

@michalsnik I totally understand that isn't a priority and it was never my intention, in case that my initial comment looked like that.

My question had the goal to poll if it could or not be doable rather than requesting this feature in high priority; although I could imagine that the rule could be auto fixable, I've never developed anything for ESLint, so I wanted to confirm that the rule could be auto fixable.

I don't currently have time now for this, but having the issue labeled as accepted proposition and enhancement is a way to let to the others, not just me 🙂 , that doing so, would be accepted without having to spend time doing a PR without a previous confirmation that it's a nice feature to have.

Cheers!

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

No branches or pull requests

2 participants