forked from craftingmod/ncc_discord_auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
50 lines (48 loc) · 1.75 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
{
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"interface-name": [false, "never-prefix"],
// TODO: allow devDependencies only in **/*.spec.ts files:
// waiting on https://github.com/palantir/tslint/pull/3708
"no-implicit-dependencies": [true, "dev"],
/* tslint-immutable rules */
// Recommended built-in rules
"no-var-keyword": true,
"no-parameter-reassignment": false,
"typedef": false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "nospace",
"index-signature": "onespace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"whitespace": {"options":["check-branch", "check-decl", "check-operator", "check-module", "check-typecast", "check-type-operator", "check-preblock"]},
"no-bitwise": false,
"no-console": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-snake-case"],
"object-literal-sort-keys": false,
"no-unnecessary-class": {"severity":"warn"},
"no-empty": {"severity": "warning"},
"no-string-literal": false,
"prefer-const": {"severity":"warn"},
"triple-equals": [true, "allow-null-check","allow-undefined-check"],
"no-var-requires": false,
"max-classes-per-file": {"severity":"off","options":[2]},
"max-line-length": {"options":[120]},
"indent": [true, "spaces", 4],
"semicolon": [true, "never", "ignore-interfaces"],
"radix": false,
"linebreak-style": [true, "LF"]
}
}