vue/slot-name-casing
enforce specific casing for slot names
📖 Rule Details
This rule enforces proper casing of slot names in Vue components.
🔧 Options
json
{
"vue/slot-name-casing": ["error", "camelCase" | "kebab-case" | "singleword"]
}
"camelCase"
(default) ... Enforce slot name to be in camel case."kebab-case"
... Enforce slot name to be in kebab case."singleword"
... Enforce slot name to be a single word.
"kebab-case"
"singleword"
🚀 Version
This rule was introduced in eslint-plugin-vue v9.32.0