zk-lock
Version:
A distributed lock using zookeeper
58 lines • 1.5 kB
JSON
{
"lintOptions": {
"typeCheck": true
},
"extends": "tslint:latest",
"rules": {
"ban": [true,
["describe", "only"],
["it", "only"]
],
"quotemark": [false],
"callable-types": false,
"interface-name": false,
"interface-over-type-literal": true,
"max-classes-per-file": false,
"max-line-length": [true, 140],
"member-ordering": [true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-angle-bracket-type-assertion": true,
"no-default-export": true,
"no-empty-interface": true,
"no-string-throw": true,
"no-switch-case-fall-through": false,
"one-variable-per-declaration": false,
"prefer-const": true,
"switch-default": false,
"trailing-comma": {
"options": {
"multiline": "never",
"singleline": "never"
}
},
"typedef-whitespace": {
"options": [{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}, {
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}]
},
"variable-name": [true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
]
}
}