vue/block-spacing
eslint-plugin-vue
Safe autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/block-spacing": "error",
},
},
];Disallow or enforce spaces inside of blocks after opening block and before closing block in <template>
No code example for this rule
The linters' documentation does not include one we could extract.
vue/block-spacing
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/block-spacing": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Disallow or enforce spaces inside of blocks after opening block and before closing block
Enforce consistent spacing before and after the arrow in arrow functions in <template>
Enforce line breaks after opening and before closing block-level tags
Enforce consistent spacing inside array brackets in <template>
Enforce consistent brace style for blocks in <template>
Require template literals instead of string concatenation in <template>