Files
Sosuke SuzukiandGitHub be9d63e543 Avoid printing attribute per line in Vue SFC blocks (#12895)
* Avoid print single attribute perline for Vue SFC blocks

* Add tests

* Add changelog

* Fix typo

* Add more tests
2022-06-04 23:25:27 +09:00

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>