vue/no-unregistered-components
disallow using components that are not registered inside templates
- ⛔ This rule was removed in eslint-plugin-vue v9.0.0 and replaced by vue/no-undef-components rule.
📖 Rule Details
This rule reports components that haven't been registered and are being used in the template.
Note
This rule cannot check globally registered components and components registered in mixins unless you add them as part of the ignored patterns. component
, suspense
and teleport
are ignored by default.
🔧 Options
json
{
"vue/no-unregistered-components": ["error", {
"ignorePatterns": []
}]
}
ignorePatterns
Suppresses all errors if component name matches one or more patterns.
ignorePatterns: ['custom(\\-\\w+)+']
🚀 Version
This rule was introduced in eslint-plugin-vue v7.0.0