-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
55 lines (55 loc) · 1.52 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
{
"extends": [
"tslint:recommended",
"tslint-eslint-rules"
],
"rules": {
"array-type": [true, "array"],
"arrow-parens": false,
"arrow-return-shorthand": true,
"curly": [true, "ignore-same-line"],
"import-spacing": true,
"max-classes-per-file": false,
"max-line-length": [true, {
"limit": 120,
"ignore-pattern": "^import |^export"
}],
"member-access": false,
"member-ordering": [true, {
"order": [
"static-field",
"static-method",
"constructor"
]
}],
"newline-before-return": true,
"no-angle-bracket-type-assertion": true,
"no-console": false,
"no-duplicate-case": true,
"no-sparse-arrays": true,
"no-unused-expression": true,
"no-unused-variable": true,
"object-curly-spacing": [true, "always"],
"object-literal-sort-keys": false,
"object-literal-key-quotes": [true, "as-needed"],
"only-arrow-functions": [true, "allow-named-functions"],
"ordered-imports": false,
"one-line": false,
"prefer-method-signature": true,
"prefer-template": [true, "allow-single-concat"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"space-before-function-paren": [true, {
"anonymous": "always",
"constructor": "never",
"method": "never",
"named": "never"
}],
"space-in-parens": [true, "never"],
"ter-arrow-spacing": [true],
"ter-indent": [true, 2, {
"SwitchCase": 1
}],
"trailing-comma": "never",
"variable-name": false
}
}