# vue/require-name-property

require a name property in Vue components

# 📖 Rule Details

This rule requires a name property to be set on components.

<script> /* ✓ GOOD */ export default { name: 'OurButton' } </script>
Now loading...
<script> /* ✗ BAD */ export default { } </script>
Now loading...
<script> /* ✗ BAD */ export default { notName: 'OurButton' } </script>
Now loading...

# 🔧 Options

Nothing.

# 🚀 Version

This rule was introduced in eslint-plugin-vue v6.1.0

# 🔍 Implementation

Last Updated: 12/24/2020, 2:51:18 AM