forked from benwinding/react-admin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
71 lines (71 loc) · 1.92 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
67
68
69
70
71
{
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
},
"extends": ["tslint-config-prettier"],
"rules": {
"no-console": false,
"ordered-imports": false,
"no-string-literal": false,
"no-empty": true,
"object-literal-sort-keys": false,
"no-floating-promises": true,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"interface-name": false,
"whitespace": [true, "check-module"],
"max-line-length": [
80,
{
"ignore": ["non-comments"],
"ignorePattern": [
"/(https?://([-\\w\\.]+)+(:\\d+)?(/([\\w/_\\.]*(\\?\\S+)?)?)?)/"
]
}
],
"no-trailing-whitespace": [
true,
"ignore-comments",
"ignore-blank-lines",
"ignore-jsdoc",
"ignore-template-strings"
],
"no-unsafe-any": true,
"no-unused-variable": [true, "check-parameters"],
"no-unused-expression": [true, "allow-fast-null-checks"],
"arrow-return-shorthand": [true, "multiline"],
"no-duplicate-imports": true,
"no-duplicate-variable": [true, "check-parameters"],
"no-return-await": true,
"no-shadowed-variable": true,
"only-arrow-functions": [
true,
"allow-named-functions",
"allow-declarations"
],
"deprecation": true,
"indent": [true, "spaces", 2],
"curly": [true, "ignore-same-line"],
"class-name": true,
"prefer-conditional-expression": [true, "check-else-if"],
"promise-function-async": true,
"quotemark": [true, "single"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
"no-unnecessary-callback-wrapper": true
}
}