-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
83 lines (83 loc) · 2.58 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
{
"rules": {
"align": [ true, "parameters", "statements" ],
"class-name": true,
"comment-format": [ false ],
"curly": true,
"eofline": true,
"forin": true,
"indent": [ true, "spaces" ],
"interface-name": [ true, "never-prefix" ],
"jsdoc-format": true,
"max-line-length": [ true, 140 ],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-duplicate-super": true,
"prefer-const": [true, { "destructuring": "all" } ],
"semicolon": [ true, "always" ],
"prefer-template": [ true, "allow-single-concat" ],
"no-invalid-this": true,
"no-eval": true,
"no-internal-module": true,
"no-require-imports": true,
"no-trailing-whitespace": true,
"import-spacing": true,
"no-default-export": true,
"no-var-keyword": true,
"no-unnecessary-type-assertion": true,
"space-before-function-paren": [ true, { "asyncArrow": "always", "named": "never", "anonymous": "never", "method": "never", "constructor": "never" } ],
"no-angle-bracket-type-assertion": true,
"no-empty-interface": true,
"no-unnecessary-callback-wrapper": true,
"return-undefined": true,
"no-sparse-arrays": true,
"await-promise": true,
"promise-function-async": true,
"label-position": true,
"array-type": [true, "array-simple"],
"arrow-return-shorthand": [ true, "multiline" ],
"only-arrow-functions": [ true, "allow-declarations", "allow-named-functions" ],
"one-line": [
true,
"check-catch",
"check-finally",
"check-else",
"check-open-brace",
"check-whitespace"
],
"member-access": [ true, "check-accessor" ],
"arrow-parens": [ true, "ban-single-arg-parens" ],
"no-consecutive-blank-lines": [ true, 1 ],
"quotemark": [ true, "double", "jsx-double" ],
"no-console": [true, "log"],
"no-empty": true,
"no-reference": true,
"no-shadowed-variable": true,
"no-unused-expression": [ true, "allow-new" ],
"encoding": true,
"typedef": [true, "call-signature", "member-variable-declaration"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"triple-equals": [ true, "allow-null-check" ],
"variable-name": [ true, "ban-keywords", "check-format", "allow-pascal-case" ],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast"
]
}
}