UNPKG

barracuda-client-api

Version:

API Client to connect to Barracuda Enterprise Service Bus

178 lines (177 loc) 3.22 kB
{ "defaultSeverity": "warning", "extends": [ "tslint:latest" ], "rules": { "ban": false, "class-name": true, "comment-format": [ true, "check-space" ], "curly": true, "eofline": true, "forin": true, "indent": [ true, "spaces", 2 ], "no-commented-code": false, "interface-name": [ false, // TODO: enable "never-prefix" ], "jsdoc-format": true, "label-position": true, "max-line-length": [ false, 140 ], "max-union-size": false, "member-access": true, "member-ordering": true, "no-any": false, "no-arg": true, "no-bitwise": true, "no-conditional-assignment": true, "no-console": [ true, "debug", "info", "time", "timeEnd", "trace" ], "no-construct": true, "no-debugger": true, "no-shadowed-variable": true, "no-duplicate-variable": false, "no-duplicate-string": false, "no-empty": true, "no-eval": false, "no-small-switch": false, "no-inferrable-types": [ false ], "no-internal-module": true, "no-require-imports": true, "no-string-literal": false, "no-switch-case-fall-through": true, "no-trailing-whitespace": [ true, "ignore-jsdoc", "ignore-blank-lines" ], "no-statements-same-line": false, "no-unused-expression": false, "no-unused-variable": [ false ], "no-use-before-declare": false, "no-var-keyword": true, "no-var-requires": true, "object-literal-sort-keys": false, "one-line": [ true, "check-open-brace", "check-catch", "check-else", "check-whitespace" ], "quotemark": [ true, "double", "jsx-double", "avoid-escape" ], "radix": true, "semicolon": [ true ], "switch-default": false, "trailing-comma": [ true, { "multiline": "always", "singleline": "never" } ], "triple-equals": [ true, "allow-null-check" ], "typedef": [ true, "call-signature", "parameter", "property-declaration" ], "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-module", "check-operator", "check-separator", "check-type" ], "ordered-imports": [ false ], // TODO: enable "jsx-alignment": false, // TODO: enable "jsx-no-string-ref": false, // TODO: enable "jsx-no-lambda": false, // TODO: enable "jsx-no-multiline-js": false, "jsx-wrap-multiline": false, "only-arrow-functions": [ false ], // TODO: enable "arrow-parens": false, "max-classes-per-file": [ false ], "ban-comma-operator": false, // TODO: enable "prefer-const": true, "ban-types": false, "space-before-function-paren": false, "prefer-for-of": false, "no-empty-interface": false, "arrow-return-shorthand": true, "no-object-literal-type-assertion": false, "prefer-conditional-expression": false, "no-implicit-dependencies": false, "no-submodule-imports": false, "no-this-assignment": false, "bool-param-default": false, "no-collapsible-if": false, "cognitive-complexity": false }, "linterOptions": { "exclude": [ "bin", "dist", "node_modules", "**/*.log" ] } }