-
Notifications
You must be signed in to change notification settings - Fork 160
/
tslint.json
63 lines (63 loc) · 2.14 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
{
"extends": ["tslint:latest", "tslint-react", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["**/*.js", "**/*.jsx"]
},
"rules": {
"jsx-no-multiline-js": false,
"jsx-boolean-value": false,
"jsx-no-bind": true,
"jsx-no-lambda": false,
"jsx-no-string-ref": true,
"no-implicit-dependencies": false,
"no-submodule-imports": false,
"prefer-conditional-expression": false,
"object-literal-sort-keys": false,
"member-access": [true, "no-public"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"member-ordering": [false, { "order": "statics-first" }],
"prefer-for-of": false,
"no-parameter-reassignment": true,
"ban-comma-operator": true,
"function-constructor": true,
"label-position": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-console": false,
"no-debugger": false,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-empty": [true, "allow-empty-functions"],
"no-object-literal-type-assertion": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-this-assignment": [true, { "allow-destructuring": true }],
"no-unsafe-finally": true,
"no-var-keyword": true,
"prefer-object-spread": true,
"radix": false,
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
"unnecessary-constructor": true,
"use-isnan": true,
"max-classes-per-file": false,
"no-duplicate-imports": true,
"no-require-imports": true,
"prefer-const": true,
"class-name": true,
"encoding": true,
"interface-name": false,
"interface-over-type-literal": false,
"no-angle-bracket-type-assertion": true,
"no-reference-import": true,
"no-unnecessary-initializer": true,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"ordered-imports": false,
"prefer-template": [true, "allow-single-concat"],
"return-undefined": true,
"unnecessary-bind": true,
"prettier": true
},
"rulesDirectory": ["tslint-plugin-prettier"]
}