-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
53 lines (52 loc) · 1.37 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
{
"extends": "tslint:recommended",
"rules": {
"array-type": [true, "array"],
"callable-types": false,
"indent": [true, "tabs"],
"interface-name": [true, "never-prefix"],
"max-line-length": false,
"member-ordering": [true, {
"order": [
"private-static-field",
"protected-static-field",
"public-static-field",
"private-static-method",
"protected-static-method",
"public-static-method",
"private-instance-field",
"protected-instance-field",
"public-instance-field",
"private-constructor",
"protected-constructor",
"public-constructor",
"private-instance-method",
"protected-instance-method",
"public-instance-method"
]
}],
"newline-before-return": true,
"no-console": false,
"no-empty-interface": false,
"no-empty": false,
"no-shadowed-variable": false,
"no-string-literal": false,
"object-literal-key-quotes": [true, "consistent"],
"object-literal-sort-keys": false,
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"ordered-imports": [true, {
"import-sources-order": "any",
"named-imports-order": "any"
}],
"prefer-const": true,
"quotemark": [true, "double"],
"space-before-function-paren": [true, {
"anonymous": "always",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never"
}],
"space-within-parens": 0
}
}