# object-curly-newline

Rule `vue/object-curly-newline`. Enforce consistent line breaks after opening and before closing braces in `<template>`

- Source: vue
- Technologies: Vue
- Kind: style
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #2079 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `vue/object-curly-newline` | no | safe | package `eslint-plugin-vue` | [docs](https://eslint.vuejs.org/rules/object-curly-newline.html) |

## Enable it

### ESLint: `eslint.config.js`

```js
import vue from "eslint-plugin-vue";

export default [
  {
    plugins: { vue },
    rules: {
      "vue/object-curly-newline": "error",
    },
  },
];
```

## Related rules

- [eslint/object-curly-newline](https://lintradar.dev/rules/eslint/object-curly-newline.md): Enforce consistent line breaks after opening and before closing braces
- [vue/padding-line-between-tags](https://lintradar.dev/rules/vue/padding-line-between-tags.md): Require or disallow newlines between sibling tags in template
- [vue/padding-lines-in-component-definition](https://lintradar.dev/rules/vue/padding-lines-in-component-definition.md): Require or disallow padding lines in component definition
- [vue/no-useless-mustaches](https://lintradar.dev/rules/vue/no-useless-mustaches.md): Disallow unnecessary mustache interpolations
- [vue/require-expose](https://lintradar.dev/rules/vue/require-expose.md): Require declare public properties using `expose`
- [vue/no-unused-properties](https://lintradar.dev/rules/vue/no-unused-properties.md): Disallow unused properties

---

Web page: https://lintradar.dev/rules/vue/object-curly-newline. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
