forked from AntonioCuevaUrraco/nativescript-mixpanel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
43 lines (43 loc) · 1.26 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"array-type": [true, "array-simple"],
"arrow-return-shorthand": true,
"await-promise": [true, "PromisedAssertion"],
"binary-expression-operand-order": true,
"curly": true,
"interface-name": false,
"interface-over-type-literal": true,
"max-classes-per-file": false,
"max-line-length": false,
"no-console": true,
"no-default-export": true,
"no-duplicate-imports": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-inferred-empty-object-type": true,
"no-null-keyword": true,
"no-object-literal-type-assertion": true,
"no-reference": false,
"no-sparse-arrays": true,
"no-this-assignment": true,
"no-unbound-method": true,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"ordered-imports": true,
"prefer-object-spread": true,
"promise-function-async": true,
"strict-type-predicates": true,
"switch-default": true,
"typedef": [true, "call-signature", "parameter"],
"variable-name": {
"options": [
"allow-leading-underscore",
"ban-keywords",
"check-format",
"allow-pascal-case"
]
}
}
}