This repository has been archived by the owner on Jun 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
112 lines (112 loc) · 2.52 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"extends": [
"tslint:latest",
"tslint-microsoft-contrib/recommended_ruleset",
"tslint-require-connnect-typing"
],
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib",
"node_modules/tslint-require-connnect-typing"
],
"rules": {
"quotemark": [
true,
"single",
"jsx-double"
],
"max-classes-per-file": false,
"interface-name": false,
"missing-jsdoc": false,
"no-unused-variable": false,
"no-default-export": false,
"no-relative-imports": false,
"no-empty-interfaces": false,
"import-name": false,
"export-name": false,
"react-tsx-curly-spacing": [
true,
"never",
{
"allowMultiline": true
}
],
"array-type": [
true,
"generic"
],
"prefer-array-literal": [
true,
{
"allow-type-parameters": true
}
],
"prefer-for-of": false,
"no-increment-decrement": false,
"no-backbone-get-set-outside-model": false,
"prefer-type-cast": false,
"no-angle-bracket-type-assertion": true,
"no-empty-interface": false,
"variable-name": [
true,
"check-format",
"allow-pascal-case",
"ban-keywords"
],
"function-name": [
true,
{
"function-regex": "^[a-z][\\w\\d]+|[A-Z][\\w\\d]+(Component|Controller|View)$",
"static-method-regex": "^[a-z][\\w\\d]+$"
}
],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"member-variable-declaration"
],
"member-ordering": false,
"strict-boolean-expressions": false,
"no-unsafe-any": false,
"completed-docs": false,
"no-import-side-effect": [
true,
{
"ignore-module": "(\\.scss|\\.css|moment-duration-format|isomorphic-fetch)$"
}
],
"no-submodule-imports": [
true,
"src",
"assets",
"react-transition-group",
"lodash/fp",
"redux-saga/effects",
"redux-saga/utils"
],
"newline-before-return": false,
"match-default-export-name": false,
"no-implicit-dependencies": false,
"no-suspicious-comment": false,
"no-use-before-declare": false,
"react-unused-props-and-state": false
},
"jsRules": {
"quotemark": [
true,
"single",
"jsx-double"
],
"max-classes-per-file": false,
"no-unused-variable": false
}
}