-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
67 lines (67 loc) · 2.08 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
{
"rules": {
"adjacent-overload-signatures": true,
"align": [true, "statements"],
"callable-types": true,
"class-name": true,
"comment-format": [true, "check-space", "check-uppercase"],
"curly": [true, "ignore-same-line"],
"indent": [true, "spaces"],
"max-line-length": [true, 120],
"member-access": [true, "no-public"],
"member-access": [true, "no-public"],
"new-parens": true,
"newline-before-return": true,
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": true,
"no-console": [true, "log", "error"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-imports": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty-interface": true,
"no-eval": true,
"no-reference": true,
"no-shadowed-variable": true,
"no-submodule-imports": [true, "hoctable"],
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-unused-variable": [true, "react"],
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-requires": true,
"object-literal-key-quotes": [true, "consistent"],
"object-literal-shorthand": true,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"prefer-const": true,
"quotemark": [true, "double", "jsx-double"],
"radix": true,
"semicolon": [true, "always"],
"space-before-function-paren": [true, "never"],
"switch-default": true,
"trailing-comma": [true,"never"],
"triple-equals": true,
"typedef": [true, "call-signature"],
"typeof-compare": true,
"use-isnan": true,
"whitespace": [true,
"check-decl",
"check-module",
"check-operator",
"check-preblock",
"check-separator",
"check-typecast"
],
"typedef-whitespace": [true, {
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "space",
"variable-declaration": "space"
}]
}
}