-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
73 lines (73 loc) · 1.82 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
{
"defaultSeverity": "warn",
"extends": ["tslint:recommended", "tslint-react"],
"jsRules": {},
"rules": {
"max-line-length": {
"options": [120]
},
"curly": [true, "ignore-same-line"],
"jsx-wrap-multiline": true,
"jsx-no-multiline-js": false,
"jsx-no-lambda": false,
"jsx-self-close": true,
"ordered-imports": false,
"no-console": false,
"no-conditional-assignment": true,
"no-duplicate-super": true,
"no-shadowed-variable": false,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-misused-new": true,
"no-sparse-arrays": true,
"no-switch-case-fall-through": true,
"triple-equals": true,
"typeof-compare": true,
"cyclomatic-complexity": true,
"prefer-const": [
false,
{
"destructuring": "all"
}
],
"trailing-comma": false,
"align": [true, "parameters", "statements"],
"arrow-return-shorthand": [true],
"class-name": true,
"comment-format": [
true,
"check-lowercase",
{
"ignore-words": ["TODO", "HACK", "AJAX"]
}
],
"import-spacing": true,
"interface-name": [false, "always-prefix"],
"interface-over-type-literal": true,
"newline-before-return": true,
"no-consecutive-blank-lines": [true, 2],
"one-variable-per-declaration": false,
"quotemark": false,
"ban-types": [],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"object-literal-sort-keys": false,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"variable-declaration",
"member-variable-declaration"
],
"semicolon": false,
"object-literal-key-quotes": false
},
"rulesDirectory": []
}