forked from jven/studyopenings
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
60 lines (60 loc) · 1.49 KB
/
tslint.json
File metadata and controls
60 lines (60 loc) · 1.49 KB
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
{
"rules": {
"ban-types": [
true,
["Boolean", "Use boolean instead."],
["Number", "Use number instead."],
["Object", "Use {} instead."],
["String", "Use object instead."]
],
"class-name": true,
"comment-format": [true, "check-space"],
"comment-type": [true, "singleline", "multiline", "doc"],
"curly": true,
"eofline": true,
"file-name-casing": [true, "kebab-case"],
"import-spacing": true,
"indent": [true, "spaces", 2],
"interface-over-type-literal": true,
"max-line-length": [
true,
{
"limit": 80,
"ignore-pattern": "^import"
}
],
"no-debugger": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-irregular-whitespace": true,
"no-parameter-properties": true,
"no-trailing-whitespace": true,
"no-var-keyword": true,
"no-var-requires": true,
"one-line": [
true,
"check-catch",
"check-finally",
"check-else",
"check-open-brace",
"check-whitespace"
],
"ordered-imports": true,
"quotemark": [true, "single"],
"semicolon": [true, "always", "ignore-interfaces"],
"space-before-function-paren": [true, "never"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecase",
"check-type-operator",
"check-preblock"
]
}
}