加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tslint.json 2.37 KB
一键复制 编辑 原始数据 按行查看 历史
bigfengyu 提交于 2020-03-27 17:27 . feat: 懒加载接口
{
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-react-hooks"
],
"rules": {
"jsx-wrap-multiline": false,
"arrow-parens": false,
"arrow-return-shorthand": [
false
],
"prefer-const": true,
"comment-format": [
true,
"check-space"
],
"import-blacklist": [
true
],
"interface-over-type-literal": false,
"interface-name": false,
"max-line-length": [
true,
{
"limit": 150,
"ignore-pattern": "^import |^export {(.*?)}|^[ ]*export const |`.*`"
}
],
"member-access": false,
"member-ordering": [
true,
{
"order": "fields-first"
}
],
"newline-before-return": false,
"no-any": false,
"no-empty-interface": false,
"no-import-side-effect": [
false
],
"no-inferrable-types": [
true,
"ignore-params",
"ignore-properties"
],
"no-invalid-this": [
false
],
"no-null-keyword": false,
"no-require-imports": false,
"no-this-assignment": [
true,
{
"allow-destructuring": true
}
],
"no-trailing-whitespace": true,
"object-literal-key-quotes": false,
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"no-var-requires": false,
"max-classes-per-file": false,
"one-variable-per-declaration": [
false
],
"no-console": false,
"no-eval": false,
"only-arrow-functions": [
true,
"allow-declarations"
],
"ordered-imports": [
false
],
"prefer-method-signature": false,
"prefer-template": [
false
],
"quotemark": [
true,
"single",
"jsx-double"
],
"semicolon": [
true,
"never",
"ignore-bound-class-methods"
],
"trailing-comma": [
true
],
"triple-equals": [
true,
"allow-null-check"
],
"type-literal-delimiter": false,
"typedef": [
true,
"parameter",
"property-declaration"
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"jsx-no-multiline-js": false,
"Jsx-alignment": false,
"no-unused-expression": false,
"jsx-no-lambda": false,
"no-shadowed-variable": false,
"react-hooks-nesting": "error",
"no-empty": false
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化