@swrve/smarttv-sdk
Version:
Swrve marketing engagement platform SDK for SmartTV OTT devices
130 lines (129 loc) • 2.89 kB
JSON
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-eslint-rules"
],
"jsRules": {},
"rules": {
"arrow-parens": false,
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": false,
"curly": false,
"eofline": false,
"forin": true,
"import-blacklist": [
true,
"rxjs"
],
"import-spacing": true,
"indent": [
true,
"spaces"
],
"interface-over-type-literal": true,
"label-position": true,
"max-classes-per-file": [
false
],
"max-line-length": [
true,
140
],
"member-access": true,
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-instance-field",
"public-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-angle-bracket-type-assertion": false,
"no-arg": true,
"no-async": true,
"no-bitwise": true,
"no-console": true,
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": false,
"no-empty-interface": true,
"no-enum": true,
"no-eval": true,
"no-inferrable-types": false,
"no-misused-new": true,
"no-non-null-assertion": false,
"no-shadowed-variable": false,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": false,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": false,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": false,
"ordered-imports": false,
"prefer-const": true,
"quotemark": false,
"radix": true,
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"member-variable-declaration"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"unified-signatures": true,
"variable-name": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-preblock"
],
"brace-style": [
true,
"1tbs",
{
"allowSingleLine": true
}
],
"ter-padded-blocks": [true, { "blocks": "never" }]
},
"rulesDirectory": [
"lint-rules"
],
"tslint.ignoreDefinitionFiles": false
}