-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
59 lines (59 loc) · 2.13 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
51
52
53
54
55
56
57
58
59
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"max-line-length": {
"options": [120]
},
"member-access": true,
"no-empty-interface": true,
"no-namespace": true,
"no-non-null-assertion": true,
"no-var-requires": true,
"curly": [true, "ignore-same-line", "as-needed"],
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-invalid-this": true,
"no-null-keyword": true,
"no-string-literal": true,
"no-unused-variable": true,
"no-var-keyword": true,
"switch-default": true,
"triple-equals": true,
"use-isnan": true,
"eofline": true,
"indent": [true, "spaces", 4],
"max-classes-per-file": [true, 2],
"no-duplicate-imports": true,
"no-require-imports": true,
"prefer-const": true,
"trailing-comma": false,
"align": [true, "statements"],
"array-type": [true, "array"],
"typedef": [true, "parameter", "property-declaration", "call-signature", "member-variable-declaration"],
"arrow-parens": true,
"arrow-return-shorthand": true,
"encoding": true,
"interface-name": [true, "never-prefix"],
"newline-before-return": true,
"new-parens": true,
"no-boolean-literal-compare": true,
"no-irregular-whitespace": true,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"ordered-imports": false,
"prefer-method-signature": false,
"quotemark": [true, "double", "jsx-double"],
"semicolon": [true, "always"],
"space-before-function-paren": [true, "never"],
"space-within-parens": false,
"type-literal-delimiter": true,
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-rest-spread",
"check-separator", "check-type", "check-typecast", "check-type-operator", "check-preblock"],
"object-literal-sort-keys": false
},
"rulesDirectory": []
}