2018-11-13 11:19:04 +08:00
|
|
|
{
|
|
|
|
"extends": ["tslint-config-prettier"],
|
|
|
|
"rules": {
|
|
|
|
"ban": false,
|
|
|
|
"curly": true,
|
|
|
|
"eofline": false,
|
|
|
|
"forin": true,
|
|
|
|
"indent": [true, "spaces"],
|
|
|
|
"jsdoc-format": true,
|
|
|
|
"label-position": true,
|
|
|
|
"no-any": false,
|
|
|
|
"no-arg": true,
|
|
|
|
"no-bitwise": true,
|
|
|
|
"no-consecutive-blank-lines": false,
|
|
|
|
"no-construct": true,
|
2018-11-20 03:31:35 +08:00
|
|
|
"no-debugger": true,
|
2018-11-13 11:19:04 +08:00
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-empty": false,
|
|
|
|
"no-eval": true,
|
|
|
|
"no-default-export": true,
|
|
|
|
"no-shadowed-variable": true,
|
|
|
|
"no-string-literal": true,
|
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
"no-trailing-whitespace": false,
|
|
|
|
"no-unused-expression": true,
|
2019-01-27 03:27:59 +08:00
|
|
|
"no-unbound-method": true,
|
|
|
|
"no-floating-promises": true,
|
2020-09-30 18:25:39 +08:00
|
|
|
"one-line": [true, "check-catch", "check-else", "check-open-brace", "check-whitespace"],
|
2018-11-13 11:19:04 +08:00
|
|
|
"radix": true,
|
|
|
|
"restrict-plus-operands": true,
|
|
|
|
"trailing-comma": [false],
|
|
|
|
"triple-equals": [true, "allow-null-check"],
|
|
|
|
"whitespace": false
|
|
|
|
},
|
|
|
|
"linterOptions": {
|
2020-09-30 18:25:39 +08:00
|
|
|
"exclude": ["**/*.json", "examples/zeit-typescript/**/*", "docs/**/*.ts"]
|
2018-11-13 11:19:04 +08:00
|
|
|
}
|
|
|
|
}
|