-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
31 lines (31 loc) · 1023 Bytes
/
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
{
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier", "tslint-config-airbnb"],
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js",
"src/registerServiceWorker.ts"
]
},
"rules": {
"quotemark": ["double", "single"],
"object-literal-sort-keys": false,
"variable-name": false,
"prefer-template": false,
"import-name": false,
"no-increment-decrement": false,
"prefer-readonly": false,
"object-literal-key-quotes": false,
"ordered-imports": 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\\.]*\\]?$"
}],
"no-console": false,
"no-trailing-whitespace": false
}
}