Make prettier less uglier - prevent split tags Make prettier less uglier - prevent split tags vue.js vue.js

Make prettier less uglier - prevent split tags


Try to set htmlWhitespaceSensitivity property to ignore in your prettier config.


I agree your opinion. This Linter rule will help you.

eslint-plugin-vue/html-closing-bracket-newline.md at master ยท vuejs/eslint-plugin-vue

I setting up rules in .eslintrc.js below.

"vue/html-closing-bracket-newline": [2, { multiline: "never" }]

and I setting up .vscode/setting.json below

{  "editor.codeActionsOnSave": {    "source.fixAll.eslint": true  },  "editor.formatOnSave": true,  "[javascript]": {    "editor.formatOnSave": false  },  "[vue]": {    "editor.formatOnSave": false  }}


matomo