-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtslint.json
82 lines (82 loc) · 2.15 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"extends": [
"tslint:recommended",
"tslint:latest",
"tslint-react"
],
"jsRules": {
"no-empty": true
},
"rules": {
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-trailing-underscore",
"allow-pascal-case",
"allow-snake-case"
],
"no-unused-expression": [
false,
"allow-fast-null-checks"
],
"interface-name": [
true,
"never-prefix"
],
"no-empty": [
false,
"allow-empty-catch",
"allow-empty-functions"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"triple-equals": [
true,
"allow-null-check"
],
"quotemark": [true, "single", "jsx-double"],
"max-classes-per-file": false,
"max-line-length": false,
"object-literal-shorthand": false,
"trailing-comma": true,
"eofline": true,
"semicolon": true,
"no-console": false,
"no-eval": true,
"array-type": false,
"no-bitwise": false,
"no-implicit-dependencies": [true, "dev"],
"no-submodule-imports": false,
"no-shadowed-variable": true,
"member-access": false,
"member-ordering": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"no-string-literal": false,
"no-empty-interface": false,
"jsx-alignment": false,
"jsx-no-multiline-js": false,
"jsx-boolean-value": false,
"jsx-self-close": false,
"jsx-no-lambda": false,
"indent": [true, "tabs", 4]
},
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"node_modules/**/*.tsx",
"node_modules/**/*.js",
"node_modules/**/*.jsx",
"public/**/*.js"
]
}
}