vue/match-component-import-name
eslint-plugin-vue
No autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/match-component-import-name": "error",
},
},
];Require the registered component name to match the imported component name
No code example for this rule
The linters' documentation does not include one we could extract.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
vue/match-component-import-name
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/match-component-import-name": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Require or disallow spacing between function identifiers and their invocations in <template>