[TASK] Update types definitions
[Packages/TYPO3.CMS.git] / Build / tslint.json
1 {
2         "rules": {
3                 "align": [
4                         true,
5                         "parameters",
6                         "arguments",
7                         "statements"
8                 ],
9                 "ban": false,
10                 "class-name": true,
11                 "comment-format": [
12                         true,
13                         "check-space"
14                 ],
15                 "curly": false,
16                 "eofline": true,
17                 "forin": true,
18                 "indent": [
19                         true,
20                         2
21                 ],
22                 "interface-name": false,
23                 "jsdoc-format": true,
24                 "label-position": true,
25                 "max-line-length": [
26                         true,
27                         140
28                 ],
29                 "member-ordering": [
30                         true,
31                         "public-before-private",
32                         "static-before-instance",
33                         "variables-before-functions"
34                 ],
35                 "no-any": false,
36                 "no-arg": true,
37                 "no-bitwise": true,
38                 "no-console": [
39                         true,
40                         "debug",
41                         "info",
42                         "time",
43                         "timeEnd",
44                         "trace"
45                 ],
46                 "no-construct": true,
47                 "no-debugger": true,
48                 "no-shadowed-variable": true,
49                 "no-duplicate-variable": true,
50                 "no-empty": true,
51                 "no-eval": true,
52                 "no-require-imports": false,
53                 "no-string-literal": true,
54                 "no-switch-case-fall-through": true,
55                 "trailing-comma": {
56                         "singleline": "never",
57                         "multiline": "always"
58                 },
59                 "no-trailing-whitespace": true,
60                 "no-unused-expression": true,
61                 "no-var-keyword": true,
62                 "no-var-requires": false,
63                 "one-line": [
64                         true,
65                         "check-open-brace",
66                         "check-catch",
67                         "check-else",
68                         "check-whitespace"
69                 ],
70                 "quotemark": [
71                         true,
72                         "single"
73                 ],
74                 "radix": true,
75                 "semicolon": true,
76                 "switch-default": true,
77                 "triple-equals": [
78                         true,
79                         "allow-null-check"
80                 ],
81                 "typedef": [
82                         true,
83                         "call-signature",
84                         "parameter",
85                         "property-declaration",
86                         "member-variable-declaration"
87                 ],
88                 "typedef-whitespace": [
89                         true,
90                         {
91                                 "call-signature": "nospace",
92                                 "index-signature": "nospace",
93                                 "parameter": "nospace",
94                                 "property-declaration": "nospace",
95                                 "variable-declaration": "nospace"
96                         }
97                 ],
98                 "use-strict": [
99                         false,
100                         "check-module",
101                         "check-function"
102                 ],
103                 "variable-name": false,
104                 "whitespace": [
105                         true,
106                         "check-branch",
107                         "check-decl",
108                         "check-operator",
109                         "check-separator",
110                         "check-type"
111                 ]
112         }
113 }