mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
* Avoid print single attribute perline for Vue SFC blocks * Add tests * Add changelog * Fix typo * Add more tests
30 lines
638 B
Vue
30 lines
638 B
Vue
<script setup lang="ts">
|
|
console.log("hello")
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
p {
|
|
color: red;
|
|
}
|
|
</style>
|
|
|
|
<unknown-block foo bar="bar" baz long_long_long_long_attribute></unknown-block>
|
|
|
|
<script lang="ts" src="./long_long_long_long_long_long_file_path.ts">
|
|
</script>
|
|
|
|
<script lang="ts" src="./long_long_long_long_long_long_long_file_path.ts">
|
|
</script>
|
|
|
|
<script lang="ts" src="./short">
|
|
</script>
|
|
|
|
<template lang="pug" src="./long_long_long_long_long_long_file_path.pug">
|
|
</template>
|
|
|
|
<template lang="pug" src="./long_long_long_long_long_long_long_long_file_path.pug">
|
|
</template>
|
|
|
|
<template lang="pug" src="./short">
|
|
</template>
|