1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/tests/specs/fmt/yaml/wrong_file_ignore.yaml
Bartek Iwańczuk 9a39a98b57
fix(fmt): ignore file directive for YAML files (#26717)
Closes https://github.com/denoland/deno/issues/26712

Support `# deno-fmt-ignore-file` directive for YAML files.

Also added tests for single line ignores.
2024-11-04 17:57:29 +00:00

5 lines
No EOL
181 B
YAML

# File ignore directive only works if it's in the first cluster
# of comment, ie. there are no empty lines after the first n-leading lines.
# deno-fmt-ignore-file
{{something crazy