forked from nteract/nteract
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
66 lines (66 loc) · 1.61 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-react-a11y",
"tslint-react-perf",
"tslint-config-prettier",
"tslint-eslint-rules"
],
"rules": {
"interface-name": false,
"jsdoc-format": {
"options": true,
"severity": "warn"
},
"jsx-boolean-value": [true, "never"],
"max-classes-per-file": false,
"max-line-length": {
"options": {
"limit": 80,
"ignore-pattern": "^import |^export {(.*?)}"
},
"severity": "warn"
},
"member-access": false,
"no-bitwise": false,
"no-console": false,
"no-constant-condition": true,
"no-debugger": true,
"no-duplicate-switch-case": true,
"no-shadowed-variable": {
"options": true,
"severity": "warn"
},
"no-sparse-arrays": true,
"no-switch-case-fall-through": true,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-type-assertion": true,
"no-var-requires": {
"severity": "warn"
},
"object-literal-sort-keys": {
"options": "match-declaration-order",
"severity": "warn"
},
"only-arrow-functions": [true, "allow-declarations"],
"ordered-imports": true,
"prefer-template": true,
"quotemark": [true, "double", "avoid-escape", "avoid-template"],
"react-a11y-anchors": {
"severity": "warn"
},
"react-a11y-titles": {
"severity": "warn"
},
"strict-type-predicates": true,
"typedef": [
true,
"call-signature",
"parameter",
"member-variable-declaration"
],
"variable-name": [true, "ban-keywords"]
}
}