mirror of
https://github.com/denoland/deno.git
synced 2024-12-30 02:59:11 -05:00
9a39a98b57
Closes https://github.com/denoland/deno/issues/26712 Support `# deno-fmt-ignore-file` directive for YAML files. Also added tests for single line ignores.
37 lines
928 B
Text
37 lines
928 B
Text
{
|
|
"tempDir": true,
|
|
"tests": {
|
|
"badly_formatted": {
|
|
"args": "fmt badly_formatted.yml",
|
|
"output": "[WILDLINE]badly_formatted.yml\nChecked 1 file\n"
|
|
},
|
|
"well_formatted": {
|
|
"args": "fmt --check well_formatted.yml",
|
|
"output": "Checked 1 file\n"
|
|
},
|
|
"ignore_line": {
|
|
"args": "fmt --check ignore_line.yml",
|
|
"output": "Checked 1 file\n"
|
|
},
|
|
"ignore_file": {
|
|
"args": "fmt ignore_file.yaml",
|
|
"output": "Checked 1 file\n"
|
|
},
|
|
"ignore_file2": {
|
|
"args": "fmt ignore_file2.yaml",
|
|
"output": "Checked 1 file\n"
|
|
},
|
|
"ignore_file3": {
|
|
"args": "fmt ignore_file3.yaml",
|
|
"output": "Checked 1 file\n"
|
|
},
|
|
"ignore_file4": {
|
|
"args": "fmt ignore_file4.yaml",
|
|
"output": "Checked 1 file\n"
|
|
},
|
|
"wrong_file_ignore": {
|
|
"args": "fmt wrong_file_ignore.yaml",
|
|
"output": "wrong_file_ignore.out"
|
|
}
|
|
}
|
|
}
|