forked from electron/fiddle
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
82 lines (82 loc) · 2.15 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
{
"extends": ["tslint:latest", "tslint-react", "tslint:recommended"],
"rules": {
"align": [true, "parameters"],
"array-type": [true, "generic"],
"arrow-parens": true,
"class-name": true,
"comment-format": [true, "check-space"],
"curly": [true, "ignore-same-line"],
"eofline": true,
"indent": [true, "spaces"],
"max-line-length": [true, 150],
"no-angle-bracket-type-assertion": true,
"no-bitwise": false,
"no-consecutive-blank-lines": [true, 2],
"no-console": false,
"no-construct": true,
"no-default-export": true,
"no-duplicate-variable": true,
"no-empty-interface": false,
"no-empty": true,
"no-eval": true,
"no-floating-promises": false,
"no-implicit-dependencies": false,
"no-reference": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"no-var-requires": false,
"prefer-const": true,
"interface-name": [
false
],
"jsx-no-lambda": false,
"object-literal-sort-keys": false,
"object-literal-key-quotes": [true, "as-needed"],
"only-arrow-functions": [false],
"ordered-imports": [true],
"one-variable-per-declaration": [true],
"one-line": [false,
"check-else",
"check-whitespace",
"check-open-brace"
],
"prefer-const": true,
"quotemark": [true,
"single",
"avoid-escape"
],
"max-classes-per-file": [false],
"semicolon": [true, "always"],
"switch-default": true,
"trailing-comma": [false],
"typedef": [
true,
"parameter",
"property-declaration"
],
"typedef-whitespace": [true, {
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}],
"variable-name": [true,
"allow-leading-underscore",
"ban-keywords"
],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
},
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib"
]
}