vue/keyword-spacing
eslint-plugin-vue
Safe autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/keyword-spacing": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
vue/keyword-spacing
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/keyword-spacing": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforce consistent spacing before and after keywords
Enforce consistent spacing between keys and values in object literal properties in <template>
Enforce unified spacing in HTML comments
Enforce consistent newlines before and after dots in <template>