vue/require-prop-types
require type definitions in props
- ⚙️ This rule is included in the following preset configs:
*.configs["flat/strongly-recommended"]*.configs["flat/vue2-strongly-recommended"]*.configs["flat/recommended"]*.configs["flat/vue2-recommended"]"plugin:vue/strongly-recommended""plugin:vue/vue2-strongly-recommended""plugin:vue/recommended""plugin:vue/vue2-recommended"
📖 Rule Details
This rule enforces that a props statement contains type definition.
In committed code, prop definitions should always be as detailed as possible, specifying at least type(s).
🔧 Options
Nothing.
📚 Further Reading
🚀 Version
This rule was introduced in eslint-plugin-vue v3.9.0