forked from qest-cz/form-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
99 lines (99 loc) · 2.59 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
{
"extends": [
"tslint:latest",
"tslint-react",
"tslint-config-prettier"
],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never",
"esSpecCompliant": true
}
],
"quotemark": [true, "single", "jsx-double"],
"no-inferrable-types": true,
"prefer-for-of": true,
"curly": true,
"no-console": [true, "log"],
"no-dynamic-delete": true,
"no-empty": true,
"no-floating-promises": false,
"no-invalid-this": true,
"no-misused-new": true,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-object-literal-type-assertion": false,
"no-string-throw": true,
"no-unbound-method": [true, "ignore-static"],
"no-unsafe-finally": true,
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-use-before-declare": false,
"no-var-keyword": true,
"restrict-plus-operands": true,
"strict-type-predicates": true,
"triple-equals": true,
"unnecessary-constructor": true,
"use-isnan": true,
"deprecation": true,
"eofline": true,
"indent": [true, "spaces", 4],
"prefer-const": true,
"array-type": [true, "array"],
"arrow-parens": false,
"arrow-return-shorthand": [true],
"class-name": true,
"comment-format": [true, "check-space"],
"jsdoc-format": true,
"no-redundant-jsdoc": true,
"encoding": true,
"import-spacing": true,
"interface-name": [true, "never-prefix"],
"no-consecutive-blank-lines": true,
"no-trailing-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"one-variable-per-declaration": true,
"prefer-template": [true, "allow-single-concat"],
"space-before-function-paren": [
true,
{
"anonymous": "never",
"named": "never",
"method": "never",
"constructor": "never",
"asyncArrow": "always"
}
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case"
],
"no-implicit-dependencies": false,
"no-submodule-imports": false,
"ordered-imports": [
true,
{
"named-imports-order": "any"
}
],
"interface-over-type-literal": false,
"member-access": false,
"prettier": true,
"jsx-boolean-value": false,
"object-literal-sort-keys": false,
"prefer-conditional-expression": false,
"max-line-length": [
true,
{
"limit": 140,
"ignore-pattern": "^import |^export {(.*?)}"
}
]
}
}