程式碼檢查器
程式碼檢查器
# lint all JS/TS files in the current directory and subdirectories
deno lint --unstable
# lint specific files
deno lint --unstable myfile1.ts myfile2.ts
# print result as JSON
deno lint --unstable --json
# read from stdin
cat file.ts | deno lint --unstable -
# get more details
deno lint --help忽略指令
// deno-lint-ignore-file
function foo(): any {
// ...
}Last updated