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