-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
101 lines (101 loc) · 3.38 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
100
101
{
"extends": ["tslint:latest", "tslint-eslint-rules"],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"array-bracket-spacing": [true, "never"],
"arrow-parens": true,
"await-promise": [true, "Bluebird"],
"arrow-return-shorthand": true,
"ban-comma-operator": true,
"brace-style": [true, "1tbs"],
"block-spacing": [true, "always"],
"class-name": true,
"curly": true,
"eofline": true,
"import-spacing": true,
"indent": [true, "spaces", 4],
"interface-name": false,
"linebreak-style": true,
"max-classes-per-file": false,
"max-line-length": false,
"member-access": true,
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-instance-field",
"private-static-field",
"private-instance-field",
"public-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": true,
"no-constant-condition": true,
"no-console": true,
"no-debugger": true,
"no-duplicate-imports": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-empty-interface": false,
"no-extra-semi": true,
"no-implicit-dependencies": false,
"no-inferrable-types": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-irregular-whitespace": true,
"no-multi-spaces": true,
"no-parameter-reassignment": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-submodule-imports": false,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-var-keyword": true,
"object-curly-spacing": [true, "always"],
"object-literal-sort-keys": false,
"one-variable-per-declaration": true,
"prefer-const": true,
"prefer-for-of": true,
"prefer-object-spread": false,
"restrict-plus-operands": false,
"semicolon": [true, "always", "ignore-bound-class-methods"],
"space-before-function-paren": [true, {"anonymous": "never", "named": "never", "asyncArrow": "always", "method": "never", "constructor": "never"}],
"space-in-parens": [true, "never"],
"strict-type-predicates": true,
"switch-default": true,
"ter-arrow-spacing": true,
"ter-no-self-compare": true,
"ter-no-tabs": true,
"ter-no-irregular-whitespace": true,
"ter-padded-blocks": [true, "never"],
"trailing-comma": [
true,
{
"singleline": "never",
"esSpecCompliant": true
}
],
"triple-equals": true,
"quotemark": [true, "single", "jsx-double"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"whitespace": [true, "check-branch", "check-operator", "check-typecast", "check-decl", "check-separator"]
}
}