forked from microsoft/appcenter-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
99 lines (99 loc) · 2.68 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"rules": {
"arrow-parens": true,
"ban": [true,
["_","extend"]
],
"class-name": true,
"curly": true,
"eofline": true,
"indent": [true, "spaces", 2],
"insecure-random": true,
"label-position": true,
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-banned-terms": true,
"no-consecutive-blank-lines": true,
"no-construct": true,
"no-cookies": true,
"no-debugger": true,
"no-delete-expression": true,
"no-disable-auto-sanitization": true,
"no-document-domain": true,
"no-document-write": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-exec-script": true,
"no-function-constructor-with-string-args": true,
"no-http-string": [true,
"http://www.example.com/?.*",
"http://www.examples.com/?.*"
],
"no-inner-html": true,
"no-octal-literal": true,
"no-reserved-keywords": false,
"no-shadowed-variable": false, // Not sure if it makes sense
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
"no-string-based-set-timeout": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression-chai": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"non-literal-require": true,
"object-literal-key-quotes": [true, "as-needed"],
"one-line": [true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"prefer-const": true,
"prefer-for-of": false,
"possible-timing-attack": true,
"quotemark": [true, "double", "avoid-escape"],
"radix": true,
"semicolon": [true, "always"],
"space-before-function-paren": [true, {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"triple-equals": [true, "allow-null-check"],
"typedef-whitespace": [true, {
"callSignature": "noSpace",
"catchClause": "noSpace",
"indexSignature": "space",
"property-declaration": "noSpace",
"variable-declaration": "noSpace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}],
"variable-name": [
false,
"allow-pascal-case",
"ban-keywords",
"check-format"
],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast"
]
},
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib",
"tslint-no-unused-expression-chai"
]
}