Files
agent/tslint.json

100 lines
2.5 KiB
JSON

{
"rules": {
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-inferrable-types": true,
"no-internal-module": true,
"curly": true,
"no-construct": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-null-keyword": true,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-unreachable": true,
"no-unused-expression": true,
"no-unused-variable": [
true,
"check-parameters"
],
"no-use-before-declare": true,
"no-var-keyword": true,
"radix": true,
"switch-default": true,
"triple-equals": true,
"eofline": true,
"indent": [
true,
"spaces"
],
"max-line-length": [
true,
120
],
"no-trailing-whitespace": true,
"trailing-comma": [
true, {
"multiline": "never",
"singleline": "never"
}
],
"align": [
true,
"parameters",
"arguments",
"statements"
],
"comment-format": [
true,
"check-space",
"check-uppercase"
],
"no-consecutive-blank-lines": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"single"
],
"semicolon": [
true,
"always"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast"
]
}
}