vue/comma-spacing
eslint-plugin-vue
Safe autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/comma-spacing": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
vue/comma-spacing
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/comma-spacing": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforce consistent spacing before and after commas in JSON and SOML.
Enforce consistent brace style for blocks in <template>
Enforce specific casing for the component naming style in template