Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Vue SFC not formatted if code starts on same line of tag #4221

Closed
1 task done
davidglezz opened this issue Oct 9, 2024 · 1 comment
Closed
1 task done

📝 Vue SFC not formatted if code starts on same line of tag #4221

davidglezz opened this issue Oct 9, 2024 · 1 comment
Labels
S-Needs triage Status: this issue needs to be triaged

Comments

@davidglezz
Copy link

davidglezz commented Oct 9, 2024

Environment information

CLI:
  Version:                      1.9.3
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           macos

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.17.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.8.2"

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

Configuration

{}

Playground link

https://biomejs.dev/playground/?lineWidth=120&indentStyle=space&enabledLinting=false&importSortingEnabled=false&files.example.vue=PAB0AGUAbQBwAGwAYQB0AGUAPgAKACAAIAA8AHMAZQBjAHQAaQBvAG4APgAKACAAIAAgACAAIAAgACAAIAAgACAAPABoADEAPgBOAG8AdAAgAGYAbwByAG0AYQB0AHQAZQBkACAAOgAoADwALwBoADEAPgAKACAAIAA8AC8AcwBlAGMAdABpAG8AbgA%2BAAoAPAAvAHQAZQBtAHAAbABhAHQAZQA%2BAAoACgA8AHMAYwByAGkAcAB0ACAAbABhAG4AZwA9ACIAdABzACIAIABzAGUAdAB1AHAAPgBjAG8AbgBzAHQAIAB4ACAAPQAgADEAOwAKACAAIABjAG8AbgBzAHQAIAB5ACAAPQAgADIAOwAKACAAIAAgACAAYwBvAG4AcwB0ACAAegAgACAAIAAgACAAPQAgADMAOwAKADwALwBzAGMAcgBpAHAAdAA%2BAAoACgA8AHMAdAB5AGwAZQAgAGwAYQBuAGcAPQAiAHMAYwBzAHMAIgAgAHMAYwBvAHAAZQBkAD4ACgAgACAALwAqACAAbgBvAHQAIABmAG8AcgBtAGEAdAB0AGUAZAAgADoAKAAgACoALwAKACAAIAAuAHQAZQBzAHQAIAAgACAAIAAgACAAewAgAGMAbwBsAG8AcgA6ACAAIAAgACAAcgBlAGQAOwAgAH0ACgA8AC8AcwB0AHkAbABlAD4ACgA%3D

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Additional info

Input

<script lang="ts" setup>const x = 1;
  const y = 2;
    const z     = 3;
</script>

Expected Output

<script lang="ts" setup>
const x = 1;
const y = 2;
const z = 3;
</script>
@davidglezz davidglezz added the S-Needs triage Status: this issue needs to be triaged label Oct 9, 2024
@ematipico
Copy link
Member

We are likely not going to fix this one, due to our partial support

@ematipico ematipico closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Needs triage Status: this issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants