--- pageClass: rule-details sidebarDepth: 0 title: vue/html-closing-bracket-newline description: require or disallow a line break before tag's closing brackets since: v4.1.0 --- # vue/html-closing-bracket-newline > require or disallow a line break before tag's closing brackets - :gear: This rule is included in the following preset configs: - `*.configs["flat/strongly-recommended"]` - `*.configs["flat/vue2-strongly-recommended"]` - `*.configs["flat/recommended"]` - `*.configs["flat/vue2-recommended"]` - `"plugin:vue/strongly-recommended"` - `"plugin:vue/vue2-strongly-recommended"` - `"plugin:vue/recommended"` - `"plugin:vue/vue2-recommended"` - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fix-problems) can automatically fix some of the problems reported by this rule. People have their own preference about the location of closing brackets. This rule enforces a line break (or no line break) before tag's closing brackets. ```html
``` ## :book: Rule Details This rule aims to warn the right angle brackets which are at the location other than the configured location.