1 Star 0 Fork 0

lirongfei123/myplan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tslint.json 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
rongping.lrp 提交于 2017-09-14 08:24 . 更新
{
"extends": [
"tslint:recommended"
],
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
// Custom
"trailing-comma": [false, {"multiline": "always", "singleline": "never"}],
"interface-name": [false, "always-prefix"],
// Angular 2
"component-class-suffix": true,
// "component-selector": [true, "element", "my", "kebab-case"],
"directive-class-suffix": true,
// "directive-selector": [true, "attribute", "my", "camelCase"],
"import-destructuring-spacing": true,
"invoke-injectable": true,
"no-access-missing-member": true,
"no-attribute-parameter-decorator": true,
"no-forward-ref": true,
"no-input-rename": true,
"no-output-rename": true,
"only-arrow-functions": false,
"pipe-naming": [true, "camelCase", "my"],
"templates-use-public": true,
"use-host-property-decorator": true,
"use-input-property-decorator": true,
"use-life-cycle-interface": true,
"use-output-property-decorator": true,
"use-pipe-transform-interface": true,
// General
"no-console": [true,
"time",
"timeEnd",
"trace"
],
"max-line-length": [
true,
100
],
"no-string-literal": false,
"no-use-before-declare": true,
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [
true,
"single",
"avoid-escape"
],
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case",
"ban-keywords",
"check-format"
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lirongfei/myplan.git
git@gitee.com:lirongfei/myplan.git
lirongfei
myplan
myplan
master

搜索帮助