-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtslint.json
48 lines (48 loc) · 1.25 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
{
"extends": "tslint:recommended",
"linterOptions": {
"exclude": ["server/src/parse/nearley-helper.ts"]
},
"rules": {
"no-string-throw": true,
"no-unused-expression": true,
"no-duplicate-variable": true,
"curly": false,
"class-name": true,
"semicolon": [
true,
"always"
],
"triple-equals": true,
"trailing-comma": false,
"no-trailing-whitespace": false,
"interface-name": false,
"interface-over-type-literal": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"one-line": false,
"quotemark": false,
"arrow-parens": false,
"no-angle-bracket-type-assertion": false,
"max-line-length": [true, 130],
"no-console": [true, "log"],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock",
"check-postbrace"
],
"no-switch-case-fall-through": true,
"array-type": false,
"object-literal-shorthand": false,
"max-classes-per-file": false,
"no-shadowed-variable": [true, { "temporalDeadZone": false, "typeAlias": false }]
},
"defaultSeverity": "warning"
}