useVueValidVPre
Summary
Section titled “Summary”- Diagnostic Category:
lint/nursery/useVueValidVPre - This rule has an unsafe fix.
- The default severity of this rule is information.
- This rule belongs to the following domains:
- Sources:
- Same as
vue/valid-v-pre
- Same as
How to configure
Section titled “How to configure”{ "linter": { "rules": { "nursery": { "useVueValidVPre": "error" } } }}Description
Section titled “Description”Enforce valid v-pre Vue directives.
Examples
Section titled “Examples”Invalid
Section titled “Invalid”This rule reports v-pre directives in the following cases:
The directive has an argument so it is invalid.
<div v-pre:arg></div>The directive has a modifier so it is invalid.
<div v-pre.mod></div>The directive has a value so it is invalid.
<div v-pre="value"></div><div v-pre></div>Related links
Section titled “Related links”Copyright (c) 2023-present Biome Developers and Contributors.