get-proxy-settings/tslint.json

59 строки
1.8 KiB
JSON

{
"extends": "tslint:recommended",
"defaultSeverity": "error",
"rulesDirectory": [
"tslint-no-unused-expression-chai"
],
"rules": {
// TSLint override
"no-this-assignment": [true, {"allow-destructuring": true}],
"no-duplicate-imports": true,
"encoding": true,
"indent": [true, "spaces", 4],
"no-bitwise": false,
"object-literal-shorthand": false,
"adjacent-overload-signatures": false,
"max-classes-per-file": [false],
"arrow-parens": false,
"no-inferrable-types": [false],
"interface-name": [ true, "never-prefix" ],
"no-string-literal": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"], // https://github.com/palantir/tslint/issues/1489
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"ordered-imports": [true, {
"import-sources-order": "case-insensitive",
"named-imports-order": "lowercase-last"
}],
"object-literal-sort-keys": false,
"arrow-return-shorthand": [true],
"ban": [
true,
["describe", "only"],
["it", "only"]
],
"no-empty-interface": false,
"space-before-function-paren": [false],
"no-irregular-whitespace": true,
"no-invalid-template-strings": true,
"no-sparse-arrays": true,
"no-duplicate-switch-case": true,
"no-return-await": true,
"ban-comma-operator": true,
"no-dynamic-delete": true,
"prefer-readonly": true,
"prefer-const": true,
"no-unused-expression": false,
"no-unused-expression-chai": true
},
"jsRules": {
"object-literal-sort-keys": false,
"trailing-comma": [false]
}
}