-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
116 lines (116 loc) · 3.65 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
113
114
115
116
{
"extends": [
"tslint:latest",
"tslint-microsoft-contrib/recommended",
"tslint-sonarts",
"tslint-react",
"tslint-clean-code/recommended_ruleset"
],
"rulesDirectory": ["node_modules/tslint-clean-code/dist/src/"],
"rules": {
"no-use-before-declare": true,
"no-function-expression": true,
"quotemark": [true, "double", "jsx-double", "backtick"],
"no-console": false,
"arrow-parens": true,
"object-literal-key-quotes": false,
"object-literal-sort-keys": false,
"no-shadowed-variable": true,
"no-var-requires": false,
"semicolon": false,
"interface-over-type-literal": false,
"align": true,
"trailing-comma": false,
"typedef": [true, "call-signature", "parameter", "arrow-call-signature", "property-declaration", "arrow-parameter"],
"no-inferrable-types": true,
"ban-types": false,
"no-relative-imports": false,
"missing-jsdoc": false,
"export-name": false,
"no-require-imports": false,
"no-http-string": false,
"strict-boolean-expressions": false,
"no-parameter-reassignment": true,
"no-unsafe-any": false,
"no-implicit-dependencies": false,
"member-access": [true, "check-accessor"],
"member-ordering": [
true,
{
"order": [
"private-instance-field",
"protected-instance-field",
"public-instance-field",
"private-static-field",
"protected-static-field",
"public-static-field",
"private-constructor",
"protected-constructor",
"public-constructor",
"private-static-method",
"protected-static-method",
"public-static-method",
"private-instance-method",
"protected-instance-method",
"public-instance-method"
],
"alphabetize": true
}
],
"function-name": false,
"no-import-side-effect": false,
"newline-per-chained-call": false,
"no-object-literal-type-assertion": false,
"promise-function-async": [true, "check-function-declaration", "check-method-declaration"],
"prefer-type-cast": false,
"no-null-keyword": false,
"import-name": false,
"react-this-binding-issue": false,
"no-unnecessary-type-assertion": true,
"no-empty": true,
"no-empty-interface": true,
"unified-signatures": true,
"curly": true,
"await-promise": true,
"ordered-imports": false,
"unnecessary-else": true,
"prefer-template": true,
"prefer-method-signature": true,
"prefer-function-over-method": [true, "allow-public"],
"no-unnecessary-qualifier": true,
"no-boolean-literal-compare": true,
"no-angle-bracket-type-assertion": true,
"interface-name": [true, "always-prefix"],
"increment-decrement": true,
"arrow-return-shorthand": true,
"array-type": [true, "array"],
"prefer-readonly": true,
"prefer-const": true,
"cyclomatic-complexity": true,
"deprecation": true,
"no-duplicate-imports": true,
"use-default-type-parameter": true,
"static-this": true,
"prefer-object-spread": true,
"no-var-keyword": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-return-await": true,
"no-this-assignment": false,
"no-submodule-imports": false,
"jsx-no-multiline-js": false,
"jsx-boolean-value": [true, "never"],
"max-func-body-length": [
true,
{
"ignore-comments": true
}
],
"newline-before-return": true,
"no-any": false,
"newspaper-order": false,
"variable-name": [true, "allow-pascal-case", "allow-snake-case", "check-format"],
"mocha-no-side-effect-code": false,
"no-backbone-get-set-outside-model": false
}
}