forked from graphile/crystal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
66 lines (66 loc) · 2.04 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
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"curly": false,
"no-any": true,
"no-inferrable-types": true,
"switch-default": true,
"max-classes-per-file": false,
"max-file-line-count": false,
"no-default-export": false,
"object-literal-sort-keys": false,
"array-type": [true, "generic"],
"interface-name": [true, "never-prefix"],
"ordered-imports": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"no-implicit-dependencies": [true, "dev", "peer"],
"no-string-literal": false
},
"jsRules": {
"no-reference": true,
"only-arrow-functions": [true, "allow-declarations"],
"prefer-for-of": true,
"ban": false,
"curly": false,
"forin": true,
"label-position": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [true, "log", "error", "warn", "info", "trace"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-for-in-array": false,
"no-invalid-this": true,
"no-null-keyword": false,
"no-shadowed-variable": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-use-before-declare": false,
"no-var-keyword": true,
"radix": true,
"restrict-plus-operands": false,
"switch-default": true,
"triple-equals": [true, "allow-null-check"],
"use-isnan": true,
"cyclomatic-complexity": false,
"eofline": true,
"max-classes-per-file": false,
"max-file-line-count": false,
"no-default-export": false,
"no-require-imports": false,
"object-literal-sort-keys": false,
"class-name": true,
"completed-docs": false,
"file-header": false,
"jsdoc-format": true,
"object-literal-key-quotes": false,
"object-literal-shorthand": true,
"one-variable-per-declaration": true,
"ordered-imports": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
}
}