-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
97 lines (94 loc) · 2.51 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
{
"lintOptions": {
"typeCheck": true
},
"extends": ["tslint:latest", "tslint-react"],
"include": "server",
"rules": {
"cyclomatic-complexity": false,
"newline-before-return": true,
"no-parameter-properties": false,
"no-parameter-reassignment": true,
"no-unused-variable": true,
"align": {
"options": [
"parameters",
"statements",
"members",
"elements"
]
},
"comment-format": [
true,
"check-space"
],
"member-ordering": false,
"member-access": true,
"only-arrow-functions": [
true,
"allow-declarations",
"allow-named-functions"
],
"completed-docs": false,
"jsx-no-lambda": false,
"no-any": false,
"no-magic-numbers": false,
"no-non-null-assertion": false,
"no-null-keyword": false,
"no-require-imports": false,
"no-unbound-method": false,
"no-unnecessary-qualifier": true,
"no-use-before-declare": true,
"no-var-requires": false,
"no-void-expression": false,
"prefer-function-over-method": false,
"strict-type-predicates": false,
"triple-equals": true,
"typedef": false,
"ban": [true,
["describe", "only"],
["it", "only"]
],
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [true, 140],
"no-console": {
"options": ["log"]
},
"no-switch-case-fall-through": true,
"no-submodule-imports": false,
"switch-default": false,
"variable-name": [true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"no-default-export": false,
"match-default-export-name": false,
"new-parens": true,
"no-consecutive-blank-lines": true,
"no-implicit-dependencies": false,
"no-irregular-whitespace": true,
"no-reference-import": true,
"no-trailing-whitespace": false,
"number-literal-format": true,
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"import-spacing": true,
"array-type": false,
"arrow-parens": [true, "as-needed"],
"arrow-return-shorthand": true,
"binary-expression-operand-order": true,
"eofline": true,
"indent": true,
"linebreak-style": false,
"no-duplicate-imports": false,
"check-literal-sort-keys": true,
"prefer-const": true,
"trailing-comma": false,
"jsx-curly-spacing": [2, "always"],
"jsx-no-multiline-js": false,
"quotemark": [true, "single", "jsx-double"]
}
}