-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
36 lines (36 loc) · 1.01 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
{
"extends": [
"tslint:latest",
"tslint-react",
"tslint-config-airbnb",
"tslint-config-prettier"
],
// get the rule and then put 'false' as the value if you don't wan to use it
"rules": {
"member-access": false,
"quotemark": [true, "double", "backtick"],
"trailing-comma": false,
"no-object-literal-type-assertion": false,
"import-name": false,
"variable-name": false,
"interface-name": false,
"object-shorthand-properties-first": false,
"function-name": [
true,
{
"method-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$",
"private-method-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$",
"protected-method-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$",
"static-method-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$",
"function-regex": "^\\*?\\[?[a-zA-Z][\\w\\d\\.]*\\]?$"
}
]
},
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
}
}