mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
bb45446fa7
When using the `ext` flag, it will still attempt formatting them with the provided extension
23 lines
523 B
Text
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"
|
|
}
|
|
}
|
|
}
|