Closed dperrymorrow closed 7 years ago
when using with prettier, in .vue fiels the first line break is being removed from the script tag
.vue
<script> import moment from "moment-timezone"; import AssetBrowser from "./AssetBrowser.vue"; export default { name: "OfferSideBar", props: { offer: Object }, ...
becomes:
<script>import moment from "moment-timezone"; import AssetBrowser from "./AssetBrowser.vue"; ...
this is inside of Atom with the following settings...
{ "root": true, "parserOptions": { "ecmaVersion": 8 }, "plugins": [ "prettier", "unicorn", "promise", "html" ], ...
That's a good point. I will make a workaround for this issue. But for your information, it is advised to use the vue plugin for linting vue files.
cool thanks for looking into this.
when using with prettier, in
.vue
fiels the first line break is being removed from the script tagbecomes:
this is inside of Atom with the following settings...