This commit is contained in:
zengqiao
2020-03-19 17:59:34 +08:00
commit 229140f067
407 changed files with 46207 additions and 0 deletions

51
console/tslint.json Normal file
View File

@@ -0,0 +1,51 @@
{
"extends": ["tslint:recommended", "tslint-react"],
"rules": {
"no-import-side-effect": false,
"quotemark": [ true, "single", "jsx-double" ],
"curly": [true, "ignore-same-line"],
"ordered-imports": false,
"max-line-length": [
true,
{
"limit": 120,
"ignore-pattern": "^import |^export {(.*?)}"
}
],
"jsx-no-multiline-js": false,
"object-literal-sort-keys": false,
"arrow-parens": false,
"max-classes-per-file": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"no-shadowed-variable": false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
]
}
}