-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
lang:vueIssues affecting VueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:option requestIssues requesting a new option. We generally don’t accept these unless there is technical necessity.Issues requesting a new option. We generally don’t accept these unless there is technical necessity.
Description
Prettier 1.10.2
Playground link
When I have a Vue.js file:
<script>
export default {
mounted() {
console.log('Component mounted!')
}
}
</script>How do I stop prettier changing the indentation to:
<script>
export default {
mounted() {
console.log("Component mounted!");
}
};
</script>lipis, TheAlexLichter, felixfbecker, lukepolo, lydell and 69 moreHaroenv, tchalvak, gluons, chanlito and IlyaSemenovazz, uncleSoWise, sdebacker, sylvainpolletvillard, Kocal and 3 more
Metadata
Metadata
Assignees
Labels
lang:vueIssues affecting VueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:option requestIssues requesting a new option. We generally don’t accept these unless there is technical necessity.Issues requesting a new option. We generally don’t accept these unless there is technical necessity.