useVueValidVCloak
Summary
Section titled “Summary”- Diagnostic Category:
lint/nursery/useVueValidVCloak - 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-cloak
- Same as
How to configure
Section titled “How to configure”{ "linter": { "rules": { "nursery": { "useVueValidVCloak": "error" } } }}Description
Section titled “Description”Enforce valid v-cloak Vue directives.
This rule reports v-cloak directives in the following cases:
- The directive has an argument. E.g.
<div v-cloak:aaa></div> - The directive has any modifiers. E.g.
<div v-cloak.bbb></div> - The directive has an attribute value. E.g.
<div v-cloak="foo"></div>
Examples
Section titled “Examples”Invalid
Section titled “Invalid”<div v-cloak:arg></div><div v-cloak.mod></div><div v-cloak="value"></div><div v-cloak></div>Related links
Section titled “Related links”Copyright (c) 2023-present Biome Developers and Contributors.