useVueConsistentVBindStyle
Ta treść nie jest jeszcze dostępna w Twoim języku.
Summary
Section titled “Summary”- Diagnostic Category:
lint/nursery/useVueConsistentVBindStyle - 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/v-bind-style
- Same as
How to configure
Section titled “How to configure”{ "linter": { "rules": { "nursery": { "useVueConsistentVBindStyle": "error" } } }}Description
Section titled “Description”Enforce a consistent style for v-bind in Vue templates.
Examples
Section titled “Examples”Invalid
Section titled “Invalid”<div v-bind:foo="bar" /><div :foo="bar" />Options
Section titled “Options”Configures the preferred directive style. Default: "shorthand".
{ "linter": { "rules": { "nursery": { "useVueConsistentVBindStyle": { "options": { "style": "longhand" } } } } }}Invalid
Section titled “Invalid”<div :foo="bar" /><div v-bind:foo="bar" />Related links
Section titled “Related links”Copyright (c) 2023-present Biome Developers and Contributors.