vue/object-property-newline
eslint-plugin-vue
Safe autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/object-property-newline": "error",
},
},
];Enforce placing object properties on separate lines in <template>
No code example for this rule
The linters' documentation does not include one we could extract.
vue/object-property-newline
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/object-property-newline": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforce placing object properties on separate lines
Enforce consistent spacing inside braces in <template>
Enforce consistent linebreak style for operators in <template>
Require or disallow padding lines between blocks