Skip to content

vue/restricted-component-names

enforce using only specific component names

📖 Rule Details

This rule enforces consistency in component names.

Now loading...

🔧 Options

json
{
  "vue/restricted-component-names": ["error", { 
    "allow": []
  }]
}

"allow: ['/^custom-/']"

Now loading...

🚀 Version

This rule was introduced in eslint-plugin-vue v9.32.0

🔍 Implementation