forked from SockTrader/SockTrader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
40 lines (40 loc) · 1.18 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"linterOptions": {
"exclude": [
"./src/**/*.spec.ts"
]
},
"rules": {
"no-console": false,
"max-line-length": false,
"object-literal-sort-keys": false,
"semicolon": [true, "always", "ignore-bound-class-methods"],
"member-access": [true, "no-public"],
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"arrow-parens": [true, "ban-single-arg-parens"],
"no-inferrable-types": true,
"curly": [true, "ignore-same-line"],
"object-literal-key-quotes": [true, "consistent-as-needed"],
"one-line": [true, "check-catch", "check-finally", "check-else"],
"indent": [true, "spaces", 4],
"linebreak-style": [true, "LF"],
"space-within-parens": [true, 0],
"object-literal-shorthand": true,
"no-irregular-whitespace": true,
"member-ordering": false,
"no-consecutive-blank-lines": true,
"arrow-return-shorthand": true,
"no-null-keyword": true,
"no-string-throw": true,
"no-var-keyword": true,
"prefer-object-spread": true,
"prefer-const": true,
"eofline": true
},
"rulesDirectory": []
}