-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtslint.json
109 lines (109 loc) · 2.07 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-config-prettier"
],
"defaultSeverity": "warning",
"jsRules": {},
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
},
"rules": {
"no-parameter-properties": false,
"triple-equals": false,
"no-debugger": false,
"no-trailing-whitespace": false,
"member-ordering": false,
"no-this-assignment": [
true,
{
"allowed-names": [
"^self$",
"^that$"
],
"allow-destructuring": true
}
],
"only-arrow-functions": [
false,
"allow-declarations",
"allow-named-functions"
],
"no-empty": [
false,
"allow-empty-catch"
],
"no-for-in-array": false,
"return-undefined": false,
"ordered-imports": false,
"comment-format": [
true,
"check-space"
],
"no-unused-expression": true,
"no-var-keyword": true,
"triple-equals": true,
"no-unnecessary-type-assertion": true,
"adjacent-overload-signatures": true,
"curly": [
true,
"ignore-same-line"
],
"forin": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-construct": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": [
true,
"check-parameters"
],
"no-eval": true,
"no-return-await": true,
"no-string-throw": true,
"indent": [
true,
"spaces",
2
],
"no-string-literal": false,
"no-duplicate-imports": false,
"import-blacklist": true,
"quotemark": [
true,
"single",
"jsx-double"
],
"semicolon": [
true,
"never"
],
"interface-name": [
true,
"always-prefix"
],
"object-literal-sort-keys": false,
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
},
"rulesDirectory": []
}