-
Notifications
You must be signed in to change notification settings - Fork 1
/
poet-tslint.json
69 lines (69 loc) · 1.73 KB
/
poet-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
{
"rulesDirectory": ["./rules"],
"extends": [
"tslint:recommended",
"tslint-eslint-rules"
],
"rules": {
"no-floating-promises": true,
"only-arrow-functions": false,
"object-literal-sort-keys": false,
"no-console": [true],
"interface-name": [false],
"no-namespace": [false],
"curly": [true, "as-needed"],
"arrow-parens": false,
"no-empty-interface": false,
"member-access": false,
"member-ordering": false,
"no-var-requires": false,
"no-default-export": true,
"no-shadowed-variable": false,
"no-relative-imports": true,
"no-return-await": true,
"no-any": {
"severity": "warning",
"options": [true]
},
"no-unsafe-any": {
"severity": "warning",
"options": [true]
},
"max-line-length": {
"options": [120]
},
"indent": [true, "spaces", 2],
"ordered-imports": [
true,
{
"import-sources-order": "lowercase-last",
"named-imports-order": "any"
}
],
"quotemark": [true, "single", "jsx-double"],
"semicolon": [true, "never"],
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never",
"functions": "never"
}
],
// tslint-immutable Recommended built-in rules
"no-var-keyword": true,
"no-parameter-reassignment": true,
"no-magic-numbers": {
"severity": "warning",
"options": [true]
},
"comment-format": {
"severity": "warning",
"options": [true]
},
"promise-function-async": {
"severity": "warning",
"options": [true]
}
}
}