-
Notifications
You must be signed in to change notification settings - Fork 10
/
tslint.json
55 lines (55 loc) · 1.48 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
{
"extends": "tslint-microsoft-contrib",
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib"
],
"defaultSeverity": "warn",
"jsRules": {},
"rules": {
"linebreak-style": [
false,
"LF"
],
"file-name-casing": [
true,
"kebab-case"
],
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^_[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[a-z][\\w\\d]+$",
"function-regex": "^[a-z][\\w\\d]+$"
}
],
"export-name": [
false,
{
"ignore-case": true,
"allow": [
"-"
]
}
],
"max-func-body-length":[ true,{ "func-body-length": 50 }],
"no-any": false,
"interface-name": false,
"typedef": false,
"no-single-line-block-comment": false,
"no-relative-imports": false,
"no-increment-decrement": false,
"prefer-type-cast": false,
"no-non-null-assertion": false,
"newline-before-return": false,
"strict-boolean-expressions": false,
"promise-function-async": false,
"use-named-parameter": false
},
"linterOptions": {
"exclude": [
"types/*.d.ts"
]
}
}