Javascript 什么是'--项目';是指在网页包命令行界面中?

Javascript 什么是'--项目';是指在网页包命令行界面中?,javascript,webpack,Javascript,Webpack,我在某人的包.json文件中找到了“lint”:“tslint--project.”,但我不明白--project的意思。我在网页上的文件里找不到任何线索。 json' "script": { "lint": "tslint --project ." } 此标志用于确定应在哪些文件上执行linting过程 -p、 --项目: The path or directory containing a tsconfig.json file that will be used to determine

我在某人的
包.json
文件中找到了“lint”:“tslint--project.”,但我不明白--project的意思。我在网页上的文件里找不到任何线索。 json'

"script": {
"lint": "tslint --project ."
}

此标志用于确定应在哪些文件上执行linting过程

-p、 --项目:

The path or directory containing a tsconfig.json file that will be
used to determine which files will be linted. This flag also enables
rules that require the type checker.