vue/object-curly-newline
eslint-plugin-vue
Safe autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/object-curly-newline": "error",
},
},
];Enforce consistent line breaks after opening and before closing braces in <template>
No code example for this rule
The linters' documentation does not include one we could extract.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
vue/object-curly-newline
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/object-curly-newline": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforce consistent line breaks after opening and before closing braces
Require or disallow newlines between sibling tags in template
Require or disallow padding lines in component definition