Path: blob/master/bitget-node-sdk-api/tslint.json
731 views
{1"defaultSeverity": "error",2"extends": [3"tslint:recommended"4],5"jsRules": {6"class-name": true,7"forin": true,8"import-spacing": true,9"jsdoc-format": true,10"label-position": true,11"new-parens": true,12"no-arg": true,13"no-bitwise": true,14"no-conditional-assignment": true,15"no-consecutive-blank-lines": true,16"no-construct": true,17"no-debugger": true,18"no-duplicate-super": true,19"no-duplicate-variable": true,20"no-empty": true,21"no-eval": true,22"no-reference": true,23"no-shadowed-variable": true,24"no-string-literal": true,25"no-string-throw": true,26"no-switch-case-fall-through": false,27"no-unused-expression": true,28// disable this rule as it is very heavy performance-wise and not that useful29"no-use-before-declare": false,30"one-variable-per-declaration": {31"options": [32"ignore-for-loop"33]34},35"radix": true,36"triple-equals": {37"options": [38"allow-null-check"39]40},41"use-isnan": true,42"variable-name": {43"options": [44"allow-leading-underscore",45"ban-keywords",46"check-format",47"allow-pascal-case"48]49}50},51"rules": {52"quotemark": {53"options": "single"54},55"adjacent-overload-signatures": true,56"array-type": {57"options": [58"array"59]60},61"ban-types": {62"options": [63[64"Object",65"Avoid using the `Object` type. Did you mean `object`?"66],67[68"Function",69"Avoid using the `Function` type. Prefer a specific function type, like `() => void`."70],71[72"Boolean",73"Avoid using the `Boolean` type. Did you mean `boolean`?"74],75[76"Number",77"Avoid using the `Number` type. Did you mean `number`?"78],79[80"String",81"Avoid using the `String` type. Did you mean `string`?"82],83[84"Symbol",85"Avoid using the `Symbol` type. Did you mean `symbol`?"86]87]88},89"callable-types": true,90"class-name": true,91"comment-format": {92"options": [93"check-space"94]95},96"cyclomatic-complexity": false,97"forin": true,98"jsdoc-format": true,99"label-position": true,100"max-classes-per-file": {101"options": 4102},103"new-parens": true,104"no-angle-bracket-type-assertion": true,105"no-any": false,106"no-arg": true,107"no-bitwise": true,108"no-conditional-assignment": true,109"no-construct": true,110"no-debugger": true,111"no-duplicate-super": true,112"no-empty": true,113"no-empty-interface": true,114"no-eval": true,115"no-internal-module": true,116"no-invalid-this": false,117"no-misused-new": true,118"no-namespace": true,119"no-parameter-properties": false,120"no-reference": true,121"no-reference-import": true,122"no-shadowed-variable": true,123"no-string-literal": true,124"no-string-throw": true,125"no-switch-case-fall-through": false,126"no-trailing-whitespace": true,127"no-unnecessary-initializer": true,128"no-unsafe-finally": true,129"no-unused-expression": true,130"no-use-before-declare": false,131// disabled because it is very heavy performance-wise and not that useful132"no-var-keyword": true,133"no-var-requires": true,134"object-literal-shorthand": true,135"one-variable-per-declaration": {136"options": [137"ignore-for-loop"138]139},140"only-arrow-functions": {141"options": [142"allow-declarations",143"allow-named-functions"144]145},146"prefer-const": true,147"prefer-for-of": true,148"radix": true,149"triple-equals": {150"options": [151"allow-null-check"152]153},154"typedef": false,155"typeof-compare": false,156// deprecated in TSLint 5.9.0157"unified-signatures": true,158"use-isnan": true,159"variable-name": {160"options": [161"allow-leading-underscore",162"ban-keywords",163"check-format",164"allow-pascal-case"165]166}167},168"rulesDirectory": [],169"linterOptions": {170"exclude": [171"build/**/*.ts"172]173}174}175176