1 Star 2 Fork 0

Colin/oceanetwork

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tslint.json 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
jayliujie 提交于 2022-02-16 20:24 . init
{
"extends": [
"tslint:latest",
"tslint-react",
"tslint-eslint-rules",
"tslint-config-prettier",
"tslint-plugin-prettier"
],
"rules": {
"prettier": [true, ".prettierrc.js"],
"quotemark": [true, "single", "jsx-double"],
"no-console": [false, "dir", "log", "error", "warn"],
"space-before-function-paren": false,
"interface-name": [true, "always-prefix"],
"prefer-conditional-expression": false,
"adjacent-overload-signatures": true,
"member-access": [false],
"jsx-wrap-multiline": false,
"no-implicit-dependencies": [true, ["#assets"]],
"no-object-literal-type-assertion": false,
"jsx-no-lambda": false,
"jsx-no-multiline-js": false,
"no-this-assignment": [true, {"allowed-names": ["^self$"], "allow-destructuring": true}],
"no-shadowed-variable": false,
"no-submodule-imports": false,
"ordered-imports": [
true,
{
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive",
"grouped-imports": true,
"groups": [
{ "match": "^[@a-zA-Z]+", "order": 0 },
{ "match": "^#assets", "order": 1 },
{ "name": "current dir", "match": "^[.]", "order": 2 },
{ "name": "parent_dir", "match": "^[.][.]", "order": 3 },
{ "match": ".less", "order": 4 }
]
}
],
"member-ordering": [
true,
{
"order": "fields-first"
}
],
"object-literal-sort-keys": false,
"max-classes-per-file": [true, 10],
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case"],
"align": [true, "statements"]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/LLiuJJ/oceanetwork.git
git@gitee.com:LLiuJJ/oceanetwork.git
LLiuJJ
oceanetwork
oceanetwork
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385