forked from RampNetwork/ramp-instant-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
50 lines (50 loc) · 1.39 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"jsx-no-lambda": false,
"ban-types": false,
"object-literal-sort-keys": false,
"no-shadowed-variable": false,
"no-consecutive-blank-lines": true,
"no-floating-promises": true,
"await-promise": true,
"no-return-await": true,
"no-console": true,
"no-magic-numbers": true,
"promise-function-async": true,
"no-invalid-this": [true, "check-function-in-method"],
"one-variable-per-declaration": true,
"no-boolean-literal-compare": true,
"no-irregular-whitespace": true,
"trailing-comma": true,
"typedef": [
true,
"call-signature",
"property-declaration",
"member-variable-declaration"
],
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-qualifier": true,
"object-literal-key-quotes": [true, "as-needed"],
"prefer-method-signature": true,
"prefer-while": true,
"return-undefined": true,
"align": [true, "members"],
"object-literal-shorthand": true,
"member-access": true,
"max-line-length": [
true,
{
"limit": 100,
"ignore-pattern": "https?://"
}
],
"variable-name": [true, "ban-keywords", "allow-leading-underscore"]
},
"rulesDirectory": [],
"linterOptions": {
"exclude": ["**/*.json"]
}
}