加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tslint.json 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
daokes 提交于 2018-12-12 20:23 . disable forin
{
"extends": "tslint:recommended",
"rulesDirectory": [
"./src-web/",
"./src-h5/",
"./src-ali-app/",
"./src-wx-app/",
"./service/src/"
],
"rules": {
"forin": false,
"prefer-for-of": false,
"ordered-imports": false,
"no-unused-expression": true,
"unified-signatures": false,
"whitespace": [
true,
"check-branch",
"check-operator"
],
"indent": [
true,
"tabs",
2
],
"quotemark": false,
"max-line-length": false,
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-snake-case"
],
"interface-name": false,
"object-literal-sort-keys": false,
"object-literal-key-quotes": false,
"no-bitwise": false,
"no-empty": false,
"align": false,
"new-parens": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": false,
"no-console": true
},
"jsRules": {
"max-line-length": {
"options": [
120
]
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化