-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
50 lines (50 loc) · 1.49 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"rules": {
"quotemark": false,
"trailing-comma": false,
"object-literal-sort-keys": false,
"arrow-return-shorthand": true,
"prefer-method-signature": true,
"arrow-parens": false,
"no-unnecessary-type-assertion": true,
"array-type": [true, "array"],
"interface-name": [true, "never-prefix"],
"no-duplicate-imports": true,
"no-console": false,
"no-var-requires": false,
"comment-format": false,
"ordered-imports": true,
"prefer-readonly": true,
"no-reference": true,
"unified-signatures": true,
"await-promise": true,
"cyclomatic-complexity": [true, 10],
"prefer-const": true,
"no-boolean-literal-compare": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"one-variable-per-declaration": true,
"deprecation": true,
"no-mergeable-namespace": true,
"strict-type-predicates": true,
"prefer-conditional-expression": true,
"import-spacing": true,
"no-implicit-dependencies": [true, "dev", ["src"]],
"no-import-side-effect": [
true,
{
"ignore-module": "jest-dom/extend-expect|react-testing-library/cleanup-after-each"
}
],
"no-reference-import": true,
"no-require-imports": true,
"no-submodule-imports": [
true,
"jest-dom/extend-expect",
"react-testing-library/cleanup-after-each",
"src"
]
}
}