# require-name-property

Rule `vue/require-name-property`. Require a name property in Vue components

- Source: vue
- Technologies: Vue
- Kind: style
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #2083 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `vue/require-name-property` | no | suggestion | package `eslint-plugin-vue` | [docs](https://eslint.vuejs.org/rules/require-name-property.html) |

## Enable it

### ESLint: `eslint.config.js`

```js
import vue from "eslint-plugin-vue";

export default [
  {
    plugins: { vue },
    rules: {
      "vue/require-name-property": "error",
    },
  },
];
```

## Related rules

- [vue/require-expose](https://lintradar.dev/rules/vue/require-expose.md): Require declare public properties using `expose`
- [vue/require-prop-comment](https://lintradar.dev/rules/vue/require-prop-comment.md): Require props to have a comment
- [vue/padding-lines-in-component-definition](https://lintradar.dev/rules/vue/padding-lines-in-component-definition.md): Require or disallow padding lines in component definition
- [vue/restricted-component-names](https://lintradar.dev/rules/vue/restricted-component-names.md): Enforce using only specific component names
- [vue/padding-line-between-tags](https://lintradar.dev/rules/vue/padding-line-between-tags.md): Require or disallow newlines between sibling tags in template
- [vue/script-indent](https://lintradar.dev/rules/vue/script-indent.md): Enforce consistent indentation in `<script>`

---

Web page: https://lintradar.dev/rules/vue/require-name-property. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
