1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/tests/specs/fmt
Bartek Iwańczuk 6c26c1ed96
feat(fmt): better error on malfored HTML files (#25853)
Improves syntax errors for HTML formatter.

`broken.html`

```html
<div class=container > content 
```

```
$ deno fmt broken.html
Error formatting: /Users/ib/dev/deno/tests/specs/fmt/html/broken.html
   syntax error 'expect close tag' at line 3, column 0
Checked 1 file
```

```
$ ./target/debug/deno fmt broken.html
Error formatting: /Users/ib/dev/deno/tests/specs/fmt/html/broken.html
   Syntax error (expect close tag) at file:///Users/ib/dev/deno/tests/specs/fmt/html/broken.html:3:0

Checked 1 file
```
2024-09-25 01:00:16 +00:00
..
astro_file_with_css_comment fix: update malva in deno to support astro css comments (#25553) 2024-09-10 12:54:43 +02:00
css fix(fmt): --check was broken for CSS, YAML and HTML (#25848) 2024-09-24 15:54:48 +02:00
default_ts fix: don't include extensionless files in file collection for lint & fmt by default (#25721) 2024-09-19 11:25:48 +02:00
html feat(fmt): better error on malfored HTML files (#25853) 2024-09-25 01:00:16 +00:00
njk feat(fmt): support vto and njk extensions (#25831) 2024-09-23 14:27:58 -04:00
no_error_deno_dir_not_exists fix: prevent cache db errors when deno_dir not exists (#23168) 2024-04-01 18:58:52 -04:00
unstable_component feat(fmt): stabilize CSS, HTML and YAML formatters (#25753) 2024-09-23 18:01:04 +02:00
vento feat(fmt): support vto and njk extensions (#25831) 2024-09-23 14:27:58 -04:00
workspace feat: npm workspace and better Deno workspace support (#24334) 2024-07-04 00:54:33 +00:00
yaml fix(fmt): --check was broken for CSS, YAML and HTML (#25848) 2024-09-24 15:54:48 +02:00