1 Star 0 Fork 15

creatorMaster/CocosCreator-GG-Framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tslint.json 2.89 KB
一键复制 编辑 原始数据 按行查看 历史
ZhitaoCai 提交于 2020-12-08 23:30 . init project
{
"linterOptions": {
"exclude": [
"./**/*.d.ts"
]
},
"rules": {
"space-before-function-paren": false,
"semicolon": [
true,
"always"
],
"no-var-keyword": true,
"no-unused-variable": [
false,
{
"ignore-pattern": "^_"
}
],
"trailing-comma": [
false,
{
"multiline": "always",
"singleline": "never"
}
],
"class-name": false,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces",
4
],
"linebreak-style": [
true,
"LF"
],
"no-eval": true,
"no-internal-module": true,
"no-trailing-whitespace": false,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"double"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"member-access": [
true,
"no-public"
],
"member-ordering": [
false,
{
"order": [
"public-static-field",
"protected-static-field",
"private-static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"public-constructor",
"public-static-method",
"protected-static-method",
"private-static-method",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-duplicate-variable": true,
"no-unused-expression": false,
"curly": true,
"no-arg": true,
"no-switch-case-fall-through": true,
"no-unnecessary-initializer": true
},
"jsRules": {
"triple-equals": [
true,
"allow-null-check"
]
},
"defaultSeverity": "warning"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/creator-master/CocosCreator-GG-Framework.git
git@gitee.com:creator-master/CocosCreator-GG-Framework.git
creator-master
CocosCreator-GG-Framework
CocosCreator-GG-Framework
master

搜索帮助