nexus/tslint.json

39 lines
1.1 KiB
JSON

{
"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,
"no-debugger": true,
"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,
"no-unbound-method": true,
"no-floating-promises": true,
"one-line": [true, "check-catch", "check-else", "check-open-brace", "check-whitespace"],
"radix": true,
"restrict-plus-operands": true,
"trailing-comma": [false],
"triple-equals": [true, "allow-null-check"],
"whitespace": false
},
"linterOptions": {
"exclude": ["**/*.json", "examples/zeit-typescript/**/*", "docs/**/*.ts"]
}
}