This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
forked from AlexandrosD/gherkindoc
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
96 lines (95 loc) · 2.07 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
{
"rulesDirectory": [
"node_modules/tslint-eslint-rules/dist/rules"
],
"rules": {
// ESLint rules
"valid-jsdoc": [
true,
{
"prefer": {
"return": "returns"
},
"requireReturn": false,
"requireParamDescription": false,
"requireReturnDescription": true
}
],
"valid-typeof": true,
"use-isnan": false,
"no-sparse-arrays": true,
"no-regex-spaces": true,
"no-irregular-whitespace": true,
"no-invalid-regexp": true,
"no-inner-declarations": true,
"no-extra-semi": true,
"no-extra-boolean-cast": true,
"no-ex-assign": true,
"no-empty-character-class": true,
"no-duplicate-case": true,
"no-control-regex": true,
"no-constant-condition": true,
"object-curly-spacing": [
true,
"always"
],
//"arrow-spacing": true,
"ter-prefer-arrow-callback": true,
// TSLint rules
"jsdoc-format": true,
"class-name": true,
"curly": false,
"eofline": true,
"indent": [
true,
"spaces"
],
"max-line-length": [
true,
180
],
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-arg": true,
"no-construct": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-eval": true,
"trailing-comma": [true, {"multiline": "always", "singleline": "true"}],
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-unused-variable": false,
"no-use-before-declare": true,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"quotemark": [
true,
"single"
],
"semicolon": [true, "always"],
"triple-equals": [
true,
"allow-null-check"
],
"variable-name": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast"
]
}
}