我试图决定为什么我应该TSLint在我的Typescript2/ Angular2项目中使用.
暴露的规则列表TSLint:https://palantir.github.io/tslint/rules/
可用的编译器选项TypeScript:https://www.typescriptlang.org/docs/handbook/compiler-options.html
从Typescript2现在开始有一些编译器选项--noUnusedParameters,是否真的需要TSLint?是TSLint编译器选项的超集吗?
项目结构:
.
??? bower.json
??? index.js
??? package.json
??? src
? ??? app
? ? ??? app.component.spec.ts
? ? ??? app.component.ts
? ? ??? app.module.ts
? ??? index.html
? ??? main.ts
? ??? tsconfig.json
??? tslint.js
??? webpack.common.js
??? webpack.dev.config.js
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3632 次 |
| 最近记录: |