1 Star 0 Fork 0

zhangtm/ts-sample

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tslint.json 2.79 KB
一键复制 编辑 原始数据 按行查看 历史
zhangtm 提交于 2022-03-04 13:57 +08:00 . add
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"semicolon": [
false,
"always"
],
"rules": {
"member-access": true,
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-static-method",
"protected-static-field",
"protected-static-method",
"private-static-field",
"private-static-method",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"public-constructor",
"protected-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-parameter-reassignment":false,
"prefer-for-of":true,
"no-namespace":false,
"only-arrow-functions":false,
"no-shadowed-variable": true,
"no-string-literal":false,
"ban-types": false,
"await-promise":true,
"curly":true,
"forin":false,
"no-arg":true,
"no-bitwise":false,
"no-conditional-assignment":true,
"no-console":false,
"no-debugger":true,
"no-duplicate-super":true,
"no-empty":false,
"no-eval":true,
"no-for-in-array":true,
"no-invalid-template-strings":true,
"no-sparse-arrays":true,
"no-string-throw":true,
"no-switch-case-fall-through":true,
"no-unsafe-finally":true,
"no-unused-expression":true,
"no-use-before-declare":true,
"no-var-keyword":true,
"radix":false,
"triple-equals":false,
"use-isnan":true,
"indent":[true, "spaces", 4],
"max-classes-per-file":[false,1],
"max-file-line-count":[true,1000],
"max-line-length":[true,300],
"no-default-export":true,
"no-duplicate-imports":true,
"no-invalid-this":true,
"align":[true,"parameters","arguments","statements","members","elements"],
"class-name":false,
"comment-format":[true, "check-space"],
"encoding":false,
"import-spacing":true,
"jsdoc-format":false,
"new-parens":true,
"object-literal-sort-keys":false,
"no-consecutive-blank-lines":[true,2],
"no-unnecessary-initializer":true,
"variable-name":[false, "check-format",
"allow-leading-underscore",
"allow-trailing-underscore",
"ban-keywords"]
},
"rulesDirectory": [],
"linterOptions": {
"exclude": [
"e2e/**/*"
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhang-taiming/ts-sample.git
git@gitee.com:zhang-taiming/ts-sample.git
zhang-taiming
ts-sample
ts-sample
master

搜索帮助