-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtslint.json
56 lines (56 loc) · 1.81 KB
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"extends": [
"tslint-eslint-rules"
],
"rules": {
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"no-conditional-assignment": true,
"no-console": true,
"no-constant-condition": true, // tslint-eslint-rules
"no-debugger": true,
"no-duplicate-case": true, // tslint-eslint-rules
"no-empty": [true, "allow-empty-catch"],
"no-empty-character-class": true, // tslint-eslint-rules
"no-ex-assign": true, // tslint-eslint-rules
"no-extra-boolean-cast": true, // tslint-eslint-rules
"no-inner-declarations": [true, "both"], // tslint-eslint-rules
"no-invalid-regexp": true, // tslint-eslint-rules
"no-regex-spaces": true, // tslint-eslint-rules
"use-isnan": true,
"valid-typeof": true, // tslint-eslint-rules
"cyclomatic-complexity": true,
"curly": [true, "all"],
"switch-default": true,
"no-string-literal": true,
"triple-equals": [true, "smart"],
"forin": true,
"ban": true,
"no-arg": true,
"no-eval": true,
"no-switch-case-fall-through": true,
"no-invalid-this": true,
"no-sparse-arrays": true,
"label-position": true,
"no-construct": true,
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-duplicate-variable": true,
"no-string-throw": true,
"radix": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-shorthand": [true, "always"],
"prefer-const": true,
"jsdoc-format": [true, "check-multiline-start"],
"no-redundant-jsdoc": false,
"no-shadowed-variable": true,
"player-api": true // use `[true, "require-jsdoc"]` to enforce JSDoc before `playerAPI` method
},
"linterOptions": {
"exclude": [
"src/e2e/*.ts",
"src/**/*.spec.ts",
"tslint-rules/*"
]
},
"rulesDirectory": "tslint-rules"
}