Skip to content


enforce specific casing for the name property in Vue components

📖 Rule Details

This rule aims at enforcing the style for the name property casing for consistency purposes.

Now loading...
Now loading...

🔧 Options

  "vue/name-property-casing": ["error", "PascalCase" | "kebab-case"]
  • "PascalCase" (default) ... Enforce the name property to Pascal case.
  • "kebab-case" ... Enforce the name property to kebab case.


Now loading...
Now loading...

📚 Further Reading

🚀 Version

This rule was introduced in eslint-plugin-vue v3.8.0

🔍 Implementation