-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtslint.json
More file actions
109 lines (109 loc) · 2.87 KB
/
tslint.json
File metadata and controls
109 lines (109 loc) · 2.87 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
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
102
103
104
105
106
107
108
109
{
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": true,
"class-name": true,
"comment-format": [
true,
"check-space",
"check-uppercase",
{"ignore-pattern": "camelCased?|(ex|im)port\\s"}
],
"curly": [true, "as-needed"],
"encoding": true,
"eofline": true,
"file-name-casing": [true, "kebab-case"],
"import-spacing": true,
"indent": [true, "tabs", 4],
"interface-name": [true, "always-prefix"],
"jsdoc-format": [true, "check-multiline-start"],
"linebreak-style": [true, "LF"],
"new-parens": true,
"no-arg": true,
"no-debugger": true,
"no-duplicate-imports": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-irregular-whitespace": true,
"no-reference": true,
"no-reference-import": true,
"no-require-imports": true,
"no-return-await": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-this-assignment": [true, {
"allow-destructuring": true,
"allowed-names": ["^THIS$"]
}],
"no-trailing-whitespace": [
true,
"ignore-template-strings",
"ignore-comments",
"ignore-blank-lines"
],
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"no-unused-expression": [true, {
"allow-fast-null-checks": true,
"allow-new": true,
"allow-tagged-template": true
}],
"no-var-keyword": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"object-literal-sort-keys": [
true,
"ignore-case",
"shorthand-first"
],
"one-line": [true, "check-open-brace"],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"prefer-const": [true, {"destructuring": "all"}],
"prefer-for-of": true,
"prefer-function-over-method": [true, "allow-public"],
"prefer-object-spread": true,
"prefer-switch": [true, {"min-cases": 2}],
"prefer-template": [true, "allow-single-concat"],
"prefer-while": true,
"quotemark": [true, "double", "avoid-escape"],
"semicolon": [true, "always"],
"space-before-function-paren": [true, {
"anonymous": "always",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never"
}],
"space-within-parens": 0,
"switch-final-break": true,
"trailing-comma": [true, {
"esSpecCompliant": true,
"singleline": "never",
"multiline": {
"exports": "always",
"imports": "always",
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
}
}],
"triple-equals": [true, {
"allow-null-check": true,
"allow-undefined-check": true
}],
"type-literal-delimiter": true,
"use-isnan": true,
"variable-name": [true, "check-format"],
"whitespace": [true, [
"check-decl",
"check-module",
"check-separator",
"check-rest-spread",
"check-type-operator"
]]
}
}