forked from MyCryptoHQ/MyCrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
36 lines (36 loc) · 1.09 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["common/vendor/**/*", "common/v2/types/vendor/*"]
},
"jsRules": {
"quotemark": false,
"max-line-length": false,
"trailing-comma": false,
"object-literal-sort-keys": false
},
"rules": {
"quotemark": false,
"trailing-comma": false,
"curly": ["true", "same-line-single-line"],
"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": [true, "log"],
"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:.*"],
"react-no-dangerous-html": true
},
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
}