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
vue/match-component-file-name
What rule do you want to change? vue/match-component-file-name
Does this change cause the rule to produce more or fewer warnings? Same.
How will the change be implemented? (New option, new default behavior, etc.)? New suggestions that can be applied by the user via the editor:
Note that we can't add an auto-fix here because the user intent is not clear.
Please provide some example code that this change will affect:
// file name: "MySuperCoolComponent.vue" export default { name: 'MyAwesomeComponent', }
What does the rule currently do for this code? Report, but no auto-fix and no suggestions.
What will the rule do after it's changed? Report, still no auto-fix, but suggestions.
// file name: "MySuperCoolComponent.vue" export default { name: 'MySuperCoolComponent', }
// file name: "MyAwesomeComponent.vue" export default { name: 'MyAwesomeComponent', }
The text was updated successfully, but these errors were encountered:
I think it's a good idea to add suggestions 👍
not sure if ESLint suggestions can rename files though
As far as I know, we can't rename files with the ESLint API 😅
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What rule do you want to change?
vue/match-component-file-name
Does this change cause the rule to produce more or fewer warnings?
Same.
How will the change be implemented? (New option, new default behavior, etc.)?
New suggestions that can be applied by the user via the editor:
Note that we can't add an auto-fix here because the user intent is not clear.
Please provide some example code that this change will affect:
What does the rule currently do for this code?
Report, but no auto-fix and no suggestions.
What will the rule do after it's changed?
Report, still no auto-fix, but suggestions.
The text was updated successfully, but these errors were encountered: