forked from benwinding/react-admin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
47 lines (47 loc) · 1.52 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
{
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
},
"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": "never",
"singleline": "never"
}],
"interface-name": false,
"whitespace": [
true,
"check-module"
],
"max-line-length": [true, 80],
"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
}
}