-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
55 lines (55 loc) · 1.74 KB
/
Copy pathtslint.json
File metadata and controls
55 lines (55 loc) · 1.74 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
{
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"arrow-parens": false,
"member-access": [ true, "no-public" ],
"forin": true,
"prefer-for-of": false,
"prefer-const": [ true, { "destructuring": "all" } ],
"no-console": false,
"quotemark": [ true, "single", "avoid-escape", "jsx-double" ],
"indent": [ true, "spaces", 2 ],
"interface-name": false,
"variable-name": [ true, "ban-keywords", "check-format", "allow-pascal-case", "allow-leading-underscore" ],
"one-line": false,
"max-line-length": false,
"object-literal-sort-keys": false,
"curly": false,
"ordered-imports": true,
"only-arrow-functions": false,
"class-name": true,
"max-classes-per-file": false,
"trailing-comma": false,
"no-reference": false,
"no-consecutive-blank-lines": false,
"no-empty": [ true, "allow-empty-catch", "allow-empty-functions" ],
"no-empty-interface": false,
"no-conditional-assignment": false,
"no-namespace": [ false ],
"no-bitwise": false,
"one-variable-per-declaration": false,
"triple-equals": [ true, "allow-null-check" ],
"no-shadowed-variable": false,
"no-angle-bracket-type-assertion": false,
"semicolon": [true, "never", "ignore-interfaces", "ignore-bound-class-methods"],
"space-before-function-paren": {
"options": {
"anonymous": "always",
"asyncArrow": "always",
"constructor": "always",
"method": "always",
"named": "always"
}
},
"space-within-parens": true,
"object-literal-key-quotes": [true, "as-needed"],
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }]
}
}