Steps to reproduce are below. I get the same results on Ubuntu 18.04 and Windows 10, so I don't think this is OS-related.
Use vue/cli to create a Vue project: Install latest vue/cli npm i -g @vue/cli (sudo npm i -g @vue/cli on Ubuntu), then vue create hello-world in a folder. Select the default '[Vue 3] babel, eslint'.
Once that's completed edit the package.json file created in the hello-world subfolder. Replace the devDependencies and eslintConfig properties with what's below. This adds in prettier and eslint-plugin-prettier-vue, and configures ESLint to use them with CRLF as the end of line characters.
cd hello-world if you're not in it, and then npm i to install the new dependencies.
npm run lint --fix
Now look at HelloWorld.vue or App.vue in your favorite editor and you'll see nine blank lines have been inserted between the closing <\template> tag and the opening tag and the opening
Steps to reproduce are below. I get the same results on Ubuntu 18.04 and Windows 10, so I don't think this is OS-related.
npm i -g @vue/cli
(sudo npm i -g @vue/cli
on Ubuntu), thenvue create hello-world
in a folder. Select the default '[Vue 3] babel, eslint'.cd hello-world
if you're not in it, and thennpm i
to install the new dependencies.npm run lint --fix
Now look at HelloWorld.vue or App.vue in your favorite editor and you'll see nine blank lines have been inserted between the closing <\template> tag and the opening tag and the opening