forked from passB/passB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
92 lines (92 loc) · 2.95 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
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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended", "tslint-react"
],
"jsRules": {},
"rules": {
"no-console": [true, "log"],
"interface-name": false,
"quotemark": [true, "single", "jsx-double", "avoid-template"],
"object-literal-sort-keys": false,
"no-empty-interface": false,
"no-namespace": false,
"ban-types": false,
"no-any": true,
"member-access": [true, "check-constructor"],
"typedef": [
true,
"call-signature",
"parameter",
"arrow-parameter",
"property-declaration",
"member-variable-declaration"
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"jsx-no-lambda": false,
"jsx-no-multiline-js": false,
"ordered-imports": [
true,
{
"import-sources-order": "lowercase-first",
"named-imports-order": "lowercase-first"
}
],
"curly": true,
"no-for-in-array": true,
"no-null-keyword": true,
"no-object-literal-type-assertion": true,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-string-throw": true,
"no-this-assignment": [true, {"allow-destructuring": true}],
"no-unbound-method": true,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"prefer-conditional-expression": true,
"prefer-object-spread": true,
"radix": false,
"restrict-plus-operands": true,
"triple-equals": true,
"typeof-compare": true,
"deprecation": true,
"eofline": true,
"indent": [true, "spaces", 2],
"linebreak-style": [true, "LF"],
"max-classes-per-file": [true, 1],
"max-line-length": [true, 140],
"no-default-export": true,
"no-duplicate-imports": true,
"prefer-const": [true, {"destructuring": "all"}],
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"align": [true, "parameters", "statements", "arguments", "members", "elements"],
"arrow-parens": true,
"arrow-return-shorthand": [true, "multiline"],
"encoding": true,
"import-spacing": true,
"interface-over-type-literal": true,
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-irregular-whitespace": true,
"no-parameter-properties": true,
"no-unnecessary-callback-wrapper": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"prefer-switch": [true, {"min-cases": 2}],
"prefer-template": true,
"semicolon": [true, "always"],
"space-before-function-paren": [true, {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
"space-within-parens": [true, 0],
"switch-final-break": [true, "always"],
"type-literal-delimiter": true,
"whitespace": [true, "check-branch", "check-operator", "check-decl", "check-type-operator", "check-preblock", "check-rest-spread", "check-separator"]
},
"rulesDirectory": []
}