加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tslint.json 1005 Bytes
一键复制 编辑 原始数据 按行查看 历史
daokes 提交于 2019-04-18 10:12 . no console
{
"extends": "tslint:recommended",
"rulesDirectory": [
"./src/"
],
"rules": {
"no-any": true,
"forin": false,
"prefer-for-of": false,
"ordered-imports": true,
"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": false
},
"jsRules": {
"max-line-length": {
"options": [
120
]
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化