vue/restricted-component-names
enforce using only specific component names
📖 Rule Details
This rule enforces consistency in component names.
🔧 Options
json
{
"vue/restricted-component-names": ["error", {
"allow": []
}]
}
"allow: ['/^custom-/']"
👫 Related Rules
🚀 Version
This rule was introduced in eslint-plugin-vue v9.32.0