add new chinese translations
This commit is contained in:
20
pages.zh/common/tslint.md
Normal file
20
pages.zh/common/tslint.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# tslint
|
||||
|
||||
> 一个可插拔的 TypeScript 检查工具。
|
||||
> 更多信息:<https://palantir.github.io/tslint>。
|
||||
|
||||
- 创建 TSLint 配置:
|
||||
|
||||
`tslint --init`
|
||||
|
||||
- 检查一组特定文件:
|
||||
|
||||
`tslint {{path/to/file1.js path/to/file2.js ...}}`
|
||||
|
||||
- 修复检查问题:
|
||||
|
||||
`tslint --fix`
|
||||
|
||||
- 使用项目根目录中的配置文件进行检查:
|
||||
|
||||
`tslint --project {{path/to/project_root}}`
|
Reference in New Issue
Block a user