-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
37 lines (37 loc) · 1.03 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"linterOptions": {
"exclude": [
"src/typings.d.ts"
]
},
"jsRules": {
"quotemark": false,
"max-line-length": false,
"trailing-comma": false,
"object-literal-sort-keys": false
},
"rules": {
"quotemark": false,
"trailing-comma": false,
"object-literal-sort-keys": false,
"arrow-return-shorthand": true,
"prefer-method-signature": true,
"arrow-parens": false,
"no-unnecessary-type-assertion": true,
"array-type": [true, "array"],
"jsx-no-lambda": false,
"interface-name": false,
"no-duplicate-imports": true,
"no-console": false,
"no-var-requires": false,
"jsx-wrap-multiline": false,
"comment-format": false,
"ordered-imports": false,
"react-anchor-blank-noopener": true,
"no-http-string": [true, "http://localhost:.*"],
"member-access": [true, "no-public"]
},
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
}