1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-04 17:18:23 -05:00
denoland-deno/tests/testdata/fmt/badly_formatted_fixed.md
João Baptista c55e936be0
feat(fmt): support SQL (#26750)
This commit adds support for .sql files in "deno fmt" subcommand.

Closes: https://github.com/denoland/deno/issues/25024
---------

Signed-off-by: m4rc3l05 <15786310+M4RC3L05@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-11-19 21:01:16 +00:00

661 B

Hello Markdown

console.log("Hello World");
console.log("Hello World2");
function hello(name: string) {
  console.log(name);
}

hello("alice");
function foo(): number {
  return 2;
}
{
  // Comment in JSON
  "key": "value",
  "key2": "value2"
}
{
  "numbers": ["1", "2"]
}
- item1
- item2
#app > .btn {
  color: #000;
}
<div class="container">content</div>
<script lang="ts">
  let a: number;
</script>
SELECT
  *,
  biz,
  buz
FROM
  baz;
-- deno-fmt-ignore-file
  seLect * , biz, buz
from baz;