1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/tests/specs/lint/default_ts/__test__.jsonc
Leo Kettmeir bb45446fa7
fix: don't include extensionless files in file collection for lint & fmt by default (#25721)
When using the `ext` flag, it will still attempt formatting them with
the provided extension
2024-09-19 11:25:48 +02:00

23 lines
523 B
Text

{
"tempDir": true,
"tests": {
"stdin": {
"args": "lint -",
"input": "const _x: string = \"foo\";",
"output": "Checked 1 file\n"
},
"ext_flag": {
"args": "lint --ext=ts as_ts.js",
"output": "Checked 1 file\n"
},
"extensionless": {
"args": "lint extensionless",
"output": "error: No target files found.\n",
"exitCode": 1
},
"extensionless_with_flag": {
"args": "lint --ext=ts extensionless",
"output": "Checked 1 file\n"
}
}
}