# no-restricted-props

Rule `vue/no-restricted-props`. Disallow specific props

- 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: #2070 by reach

## Linters

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

## Enable it

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

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

export default [
  {
    plugins: { vue },
    rules: {
      "vue/no-restricted-props": "error",
    },
  },
];
```

## Related rules

- [vue/no-restricted-custom-event](https://lintradar.dev/rules/vue/no-restricted-custom-event.md): Disallow specific custom event
- [vue/no-restricted-static-attribute](https://lintradar.dev/rules/vue/no-restricted-static-attribute.md): Disallow specific attribute
- [vue/no-restricted-component-names](https://lintradar.dev/rules/vue/no-restricted-component-names.md): Disallow specific component names
- [vue/no-static-inline-styles](https://lintradar.dev/rules/vue/no-static-inline-styles.md): Disallow static inline `style` attributes
- [vue/no-restricted-class](https://lintradar.dev/rules/vue/no-restricted-class.md): Disallow specific classes in Vue components
- [vue/no-undef-components](https://lintradar.dev/rules/vue/no-undef-components.md): Disallow use of undefined components in `<template>`

---

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