@innovixx/eslint-config 3.0.4-alpha.1 → 3.0.4-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,156 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
const variableRules = {
|
|
4
4
|
rules: {
|
|
5
|
-
'@typescript-eslint/adjacent-overload-signatures': 'warn',
|
|
6
|
-
'@typescript-eslint/array-type': 'warn',
|
|
7
|
-
'@typescript-eslint/await-thenable': 'warn',
|
|
8
|
-
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
9
|
-
'@typescript-eslint/ban-tslint-comment': 'warn',
|
|
10
|
-
'@typescript-eslint/class-literal-property-style': 'warn',
|
|
11
|
-
'class-methods-use-this': 'off',
|
|
12
|
-
'@typescript-eslint/class-methods-use-this': 'warn',
|
|
13
|
-
'@typescript-eslint/consistent-generic-constructors': 'warn',
|
|
14
|
-
'@typescript-eslint/consistent-indexed-object-style': 'warn',
|
|
15
|
-
'consistent-return': 'off',
|
|
16
|
-
'@typescript-eslint/consistent-return': 'warn',
|
|
17
|
-
'@typescript-eslint/consistent-type-assertions': 'warn',
|
|
18
|
-
'@typescript-eslint/consistent-type-definitions': 'warn',
|
|
19
|
-
'@typescript-eslint/consistent-type-exports': 'warn',
|
|
20
|
-
'@typescript-eslint/consistent-type-imports': 'warn',
|
|
21
|
-
'default-param-last': 'off',
|
|
22
|
-
'@typescript-eslint/default-param-last': 'warn',
|
|
23
|
-
'dot-notation': 'off',
|
|
24
|
-
'@typescript-eslint/dot-notation': 'warn',
|
|
25
5
|
'@typescript-eslint/explicit-function-return-type': 'warn',
|
|
26
|
-
'@typescript-eslint/explicit-member-accessibility': 'warn',
|
|
27
|
-
'@typescript-eslint/explicit-module-boundary-types': 'warn',
|
|
28
|
-
'init-declarations': 'off',
|
|
29
|
-
'@typescript-eslint/init-declarations': 'warn',
|
|
30
|
-
'max-params': 'off',
|
|
31
|
-
'@typescript-eslint/max-params': 'warn',
|
|
32
|
-
'@typescript-eslint/member-ordering': 'warn',
|
|
33
|
-
'@typescript-eslint/method-signature-style': 'warn',
|
|
34
|
-
'@typescript-eslint/naming-convention': 'off',
|
|
35
|
-
'no-array-constructor': 'off',
|
|
36
|
-
'@typescript-eslint/no-array-constructor': 'warn',
|
|
37
|
-
'@typescript-eslint/no-array-delete': 'warn',
|
|
38
|
-
'@typescript-eslint/no-base-to-string': 'warn',
|
|
39
|
-
'@typescript-eslint/no-confusing-non-null-assertion': 'warn',
|
|
40
|
-
'@typescript-eslint/no-confusing-void-expression': 'warn',
|
|
41
|
-
'@typescript-eslint/no-deprecated': 'warn',
|
|
42
|
-
'no-dupe-class-members': 'off',
|
|
43
|
-
'@typescript-eslint/no-dupe-class-members': 'warn',
|
|
44
|
-
'@typescript-eslint/no-duplicate-enum-values': 'warn',
|
|
45
|
-
'@typescript-eslint/no-duplicate-type-constituents': 'warn',
|
|
46
|
-
'@typescript-eslint/no-dynamic-delete': 'warn',
|
|
47
|
-
'no-empty-function': 'off',
|
|
48
|
-
'@typescript-eslint/no-empty-function': 'warn',
|
|
49
|
-
'@typescript-eslint/no-empty-object-type': 'warn',
|
|
50
|
-
'@typescript-eslint/no-explicit-any': 'warn',
|
|
51
|
-
'@typescript-eslint/no-extra-non-null-assertion': 'warn',
|
|
52
|
-
'@typescript-eslint/no-extraneous-class': 'warn',
|
|
53
|
-
'@typescript-eslint/no-floating-promises': 'warn',
|
|
54
|
-
'@typescript-eslint/no-for-in-array': 'warn',
|
|
55
|
-
'no-implied-eval': 'off',
|
|
56
|
-
'@typescript-eslint/no-implied-eval': 'warn',
|
|
57
|
-
'@typescript-eslint/no-import-type-side-effects': 'warn',
|
|
58
|
-
'@typescript-eslint/no-inferrable-types': 'warn',
|
|
59
|
-
'no-invalid-this': 'off',
|
|
60
|
-
'@typescript-eslint/no-invalid-this': 'warn',
|
|
61
|
-
'@typescript-eslint/no-invalid-void-type': 'warn',
|
|
62
|
-
'no-loop-func': 'off',
|
|
63
|
-
'@typescript-eslint/no-loop-func': 'warn',
|
|
64
|
-
'no-magic-numbers': 'off',
|
|
65
|
-
'@typescript-eslint/no-magic-numbers': 'off',
|
|
66
|
-
'@typescript-eslint/no-meaningless-void-operator': 'warn',
|
|
67
|
-
'@typescript-eslint/no-misused-new': 'warn',
|
|
68
|
-
'@typescript-eslint/no-misused-promises': 'warn',
|
|
69
|
-
'@typescript-eslint/no-misused-spread': 'warn',
|
|
70
|
-
'@typescript-eslint/no-mixed-enums': 'warn',
|
|
71
|
-
'@typescript-eslint/no-namespace': 'warn',
|
|
72
|
-
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'warn',
|
|
73
|
-
'@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
|
|
74
|
-
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
75
|
-
'no-redeclare': 'off',
|
|
76
|
-
'@typescript-eslint/no-redeclare': 'warn',
|
|
77
|
-
'@typescript-eslint/no-redundant-type-constituents': 'warn',
|
|
78
|
-
'@typescript-eslint/no-require-imports': 'warn',
|
|
79
|
-
'no-restricted-imports': 'off',
|
|
80
|
-
'@typescript-eslint/no-restricted-imports': 'warn',
|
|
81
|
-
'@typescript-eslint/no-restricted-types': 'warn',
|
|
82
|
-
'no-shadow': 'off',
|
|
83
|
-
'@typescript-eslint/no-shadow': 'warn',
|
|
84
|
-
'@typescript-eslint/no-this-alias': 'warn',
|
|
85
|
-
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'warn',
|
|
86
|
-
'@typescript-eslint/no-unnecessary-condition': 'warn',
|
|
87
|
-
'@typescript-eslint/no-unnecessary-parameter-property-assignment':
|
|
88
|
-
'warn',
|
|
89
|
-
'@typescript-eslint/no-unnecessary-qualifier': 'warn',
|
|
90
|
-
'@typescript-eslint/no-unnecessary-template-expression': 'warn',
|
|
91
|
-
'@typescript-eslint/no-unnecessary-type-arguments': 'warn',
|
|
92
|
-
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
|
|
93
|
-
'@typescript-eslint/no-unnecessary-type-constraint': 'warn',
|
|
94
|
-
'@typescript-eslint/no-unnecessary-type-parameters': 'warn',
|
|
95
|
-
'@typescript-eslint/no-unsafe-argument': 'warn',
|
|
96
|
-
'@typescript-eslint/no-unsafe-assignment': 'warn',
|
|
97
|
-
'@typescript-eslint/no-unsafe-call': 'warn',
|
|
98
|
-
'@typescript-eslint/no-unsafe-declaration-merging': 'warn',
|
|
99
|
-
'@typescript-eslint/no-unsafe-enum-comparison': 'warn',
|
|
100
|
-
'@typescript-eslint/no-unsafe-function-type': 'warn',
|
|
101
|
-
'@typescript-eslint/no-unsafe-member-access': 'warn',
|
|
102
|
-
'@typescript-eslint/no-unsafe-return': 'warn',
|
|
103
|
-
'@typescript-eslint/no-unsafe-type-assertion': 'warn',
|
|
104
|
-
'@typescript-eslint/no-unsafe-unary-minus': 'warn',
|
|
105
|
-
'no-unused-expressions': 'off',
|
|
106
|
-
'@typescript-eslint/no-unused-expressions': 'warn',
|
|
107
|
-
'no-unused-vars': 'off',
|
|
108
|
-
'@typescript-eslint/no-unused-vars': 'warn',
|
|
109
|
-
'no-use-before-define': 'off',
|
|
110
|
-
'@typescript-eslint/no-use-before-define': 'warn',
|
|
111
|
-
'no-useless-constructor': 'off',
|
|
112
|
-
'@typescript-eslint/no-useless-constructor': 'warn',
|
|
113
|
-
'@typescript-eslint/no-useless-empty-export': 'warn',
|
|
114
|
-
'@typescript-eslint/no-wrapper-object-types': 'warn',
|
|
115
|
-
'@typescript-eslint/non-nullable-type-assertion-style': 'warn',
|
|
116
|
-
'no-throw-literal': 'off',
|
|
117
|
-
'@typescript-eslint/only-throw-error': 'warn',
|
|
118
|
-
'@typescript-eslint/parameter-properties': 'warn',
|
|
119
|
-
'@typescript-eslint/prefer-as-const': 'warn',
|
|
120
|
-
'prefer-destructuring': 'off',
|
|
121
|
-
'@typescript-eslint/prefer-destructuring': 'warn',
|
|
122
|
-
'@typescript-eslint/prefer-enum-initializers': 'warn',
|
|
123
|
-
'@typescript-eslint/prefer-find': 'warn',
|
|
124
|
-
'@typescript-eslint/prefer-for-of': 'warn',
|
|
125
|
-
'@typescript-eslint/prefer-function-type': 'warn',
|
|
126
|
-
'@typescript-eslint/prefer-includes': 'warn',
|
|
127
|
-
'@typescript-eslint/prefer-literal-enum-member': 'warn',
|
|
128
|
-
'@typescript-eslint/prefer-namespace-keyword': 'warn',
|
|
129
|
-
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
|
|
130
|
-
'@typescript-eslint/prefer-optional-chain': 'warn',
|
|
131
|
-
'prefer-promise-reject-errors': 'off',
|
|
132
|
-
'@typescript-eslint/prefer-promise-reject-errors': 'warn',
|
|
133
|
-
'@typescript-eslint/prefer-readonly': 'warn',
|
|
134
|
-
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
|
|
135
|
-
'@typescript-eslint/prefer-reduce-type-parameter': 'warn',
|
|
136
|
-
'@typescript-eslint/prefer-regexp-exec': 'warn',
|
|
137
|
-
'@typescript-eslint/prefer-return-this-type': 'warn',
|
|
138
|
-
'@typescript-eslint/prefer-string-starts-ends-with': 'warn',
|
|
139
|
-
'@typescript-eslint/promise-function-async': 'warn',
|
|
140
|
-
'@typescript-eslint/related-getter-setter-pairs': 'warn',
|
|
141
|
-
'@typescript-eslint/require-array-sort-compare': 'warn',
|
|
142
|
-
'require-await': 'off',
|
|
143
6
|
'@typescript-eslint/require-await': 'warn',
|
|
144
|
-
'@typescript-eslint/
|
|
145
|
-
'@typescript-eslint/restrict-template-expressions': 'warn',
|
|
146
|
-
'no-return-await': 'off',
|
|
147
|
-
'@typescript-eslint/return-await': 'warn',
|
|
7
|
+
'@typescript-eslint/no-floating-promises': 'warn',
|
|
148
8
|
'@typescript-eslint/strict-boolean-expressions': 'warn',
|
|
149
9
|
'@typescript-eslint/switch-exhaustiveness-check': 'warn',
|
|
150
|
-
'@typescript-eslint/
|
|
151
|
-
'@typescript-eslint/
|
|
152
|
-
'@typescript-eslint/unbound-method': 'warn',
|
|
153
|
-
'@typescript-eslint/unified-signatures': 'warn',
|
|
154
|
-
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'warn',
|
|
10
|
+
'@typescript-eslint/no-unsafe-assignment': 'warn',
|
|
11
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
|
|
155
12
|
},
|
|
156
13
|
};
|
|
157
14
|
|
package/package.json
CHANGED