forked from cerc-io/ipld-eth-server
94 lines
2.0 KiB
JSON
94 lines
2.0 KiB
JSON
|
{
|
||
|
"extends": [
|
||
|
"tslint-eslint-rules"
|
||
|
],
|
||
|
"rules": {
|
||
|
"object-curly-spacing": true,
|
||
|
"ter-indent": [true, 2],
|
||
|
"array-bracket-spacing": ["error", "never"],
|
||
|
"class-name": true,
|
||
|
"comment-format": [
|
||
|
true,
|
||
|
"check-space"
|
||
|
],
|
||
|
"curly": [true, "ignore-same-line"],
|
||
|
"eofline": true,
|
||
|
"forin": true,
|
||
|
"indent": [
|
||
|
true,
|
||
|
"spaces"
|
||
|
],
|
||
|
"label-position": true,
|
||
|
"max-line-length": [
|
||
|
true,
|
||
|
80
|
||
|
],
|
||
|
"member-access": [true, "no-public"],
|
||
|
"member-ordering": [true, { "order": "statics-first" }],
|
||
|
"no-arg": true,
|
||
|
"no-bitwise": true,
|
||
|
"no-console": [
|
||
|
true,
|
||
|
"debug",
|
||
|
"info",
|
||
|
"time",
|
||
|
"timeEnd",
|
||
|
"trace"
|
||
|
],
|
||
|
"no-consecutive-blank-lines": true,
|
||
|
"no-construct": true,
|
||
|
"no-debugger": true,
|
||
|
"no-duplicate-variable": true,
|
||
|
"no-empty": false,
|
||
|
"no-eval": true,
|
||
|
"no-inferrable-types": true,
|
||
|
"no-shadowed-variable": false,
|
||
|
"no-string-literal": false,
|
||
|
"no-switch-case-fall-through": true,
|
||
|
"no-trailing-whitespace": false,
|
||
|
"no-unused-expression": false,
|
||
|
"no-use-before-declare": true,
|
||
|
"no-var-keyword": false,
|
||
|
"object-literal-sort-keys": false,
|
||
|
"one-line": [
|
||
|
true,
|
||
|
"check-open-brace",
|
||
|
"check-whitespace"
|
||
|
],
|
||
|
"quotemark": [
|
||
|
true,
|
||
|
"single"
|
||
|
],
|
||
|
"radix": true,
|
||
|
"semicolon": true,
|
||
|
"triple-equals": [
|
||
|
true,
|
||
|
"allow-null-check"
|
||
|
],
|
||
|
"typedef-whitespace": [
|
||
|
true,
|
||
|
{
|
||
|
"call-signature": "nospace",
|
||
|
"index-signature": "nospace",
|
||
|
"parameter": "nospace",
|
||
|
"property-declaration": "nospace",
|
||
|
"variable-declaration": "nospace"
|
||
|
}
|
||
|
],
|
||
|
"variable-name": false,
|
||
|
"whitespace": [
|
||
|
true,
|
||
|
"check-branch",
|
||
|
"check-decl",
|
||
|
"check-operator",
|
||
|
"check-separator",
|
||
|
"check-type"
|
||
|
],
|
||
|
|
||
|
"use-host-property-decorator": false,
|
||
|
"no-access-missing-member": false,
|
||
|
"templates-use-public": false,
|
||
|
"brace-style": false
|
||
|
}
|
||
|
}
|