@averay/codeformat 0.2.17 → 0.2.18

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.
@@ -1,300 +1,304 @@
1
1
  declare const _default: {
2
- 'unicorn/consistent-function-scoping': ["error", {
3
- checkArrowFunctions: boolean;
2
+ readonly 'unicorn/consistent-function-scoping': ["error", {
3
+ readonly checkArrowFunctions: false;
4
4
  }];
5
- 'unicorn/filename-case': "off";
6
- 'unicorn/no-null': "off";
7
- 'unicorn/no-useless-undefined': "off";
8
- 'unicorn/numeric-separators-style': ["error", {
9
- number: {
10
- groupLength: number;
11
- minimumDigits: number;
5
+ readonly 'unicorn/filename-case': "off";
6
+ readonly 'unicorn/no-null': "off";
7
+ readonly 'unicorn/no-useless-undefined': "off";
8
+ readonly 'unicorn/numeric-separators-style': ["error", {
9
+ readonly number: {
10
+ readonly groupLength: 3;
11
+ readonly minimumDigits: 0;
12
12
  };
13
13
  }];
14
- 'unicorn/prefer-dom-node-text-content': "off";
15
- 'unicorn/prefer-event-target': "error";
16
- 'unicorn/prefer-query-selector': "off";
17
- 'unicorn/prevent-abbreviations': "off";
18
- 'unicorn/require-post-message-target-origin': "error";
19
- 'unicorn/text-encoding-identifier-case': "off";
20
- '@stylistic/arrow-parens': "off";
21
- '@stylistic/brace-style': "off";
22
- '@stylistic/indent': "off";
23
- '@stylistic/indent-binary-ops': "off";
24
- '@stylistic/jsx-indent-props': "off";
25
- '@stylistic/jsx-one-expression-per-line': "off";
26
- '@stylistic/jsx-wrap-multilines': "off";
27
- '@stylistic/lines-between-class-members': "off";
28
- '@stylistic/max-statements-per-line': "error";
29
- '@stylistic/member-delimiter-style': "off";
30
- '@stylistic/multiline-comment-style': "off";
31
- '@stylistic/multiline-ternary': "off";
32
- '@stylistic/no-multiple-empty-line': "off";
33
- '@stylistic/operator-linebreak': "off";
34
- '@stylistic/padding-line-between-statements': ["error", {
35
- blankLine: string;
36
- prev: string;
37
- next: string;
14
+ readonly 'unicorn/prefer-dom-node-text-content': "off";
15
+ readonly 'unicorn/prefer-event-target': "error";
16
+ readonly 'unicorn/prefer-query-selector': "off";
17
+ readonly 'unicorn/prevent-abbreviations': "off";
18
+ readonly 'unicorn/require-post-message-target-origin': "error";
19
+ readonly 'unicorn/text-encoding-identifier-case': "off";
20
+ readonly '@stylistic/arrow-parens': "off";
21
+ readonly '@stylistic/brace-style': "off";
22
+ readonly '@stylistic/indent': "off";
23
+ readonly '@stylistic/indent-binary-ops': "off";
24
+ readonly '@stylistic/jsx-curly-newline': "off";
25
+ readonly '@stylistic/jsx-indent-props': "off";
26
+ readonly '@stylistic/jsx-one-expression-per-line': "off";
27
+ readonly '@stylistic/jsx-wrap-multilines': "off";
28
+ readonly '@stylistic/lines-between-class-members': "off";
29
+ readonly '@stylistic/max-statements-per-line': "error";
30
+ readonly '@stylistic/member-delimiter-style': "off";
31
+ readonly '@stylistic/multiline-comment-style': "off";
32
+ readonly '@stylistic/multiline-ternary': "off";
33
+ readonly '@stylistic/no-multiple-empty-line': "off";
34
+ readonly '@stylistic/operator-linebreak': "off";
35
+ readonly '@stylistic/padding-line-between-statements': ["error", {
36
+ readonly blankLine: "always";
37
+ readonly prev: "directive";
38
+ readonly next: "*";
38
39
  }, {
39
- blankLine: string;
40
- prev: string;
41
- next: string;
40
+ readonly blankLine: "always";
41
+ readonly prev: "function";
42
+ readonly next: "function";
42
43
  }];
43
- '@stylistic/quote-props': "off";
44
- '@stylistic/quotes': "off";
45
- '@stylistic/semi': "off";
46
- '@stylistic/spaced-comment': ["error", string, {
47
- markers: string[];
44
+ readonly '@stylistic/quote-props': "off";
45
+ readonly '@stylistic/quotes': "off";
46
+ readonly '@stylistic/semi': "off";
47
+ readonly '@stylistic/spaced-comment': ["error", "always", {
48
+ readonly markers: readonly ["/"];
48
49
  }];
49
- 'sonarjs/cognitive-complexity': "off";
50
- 'sonarjs/function-return-type': "off";
51
- 'sonarjs/max-switch-cases': "off";
52
- 'sonarjs/no-inverted-boolean-check': "error";
53
- 'sonarjs/no-nested-template-literals': "off";
54
- 'sonarjs/no-selector-parameter': "off";
55
- 'sonarjs/no-small-switch': "off";
56
- 'sonarjs/prefer-immediate-return': "off";
57
- 'sonarjs/prefer-read-only-props': "off";
58
- 'sonarjs/prefer-regexp-exec': "off";
59
- 'sonarjs/prefer-single-boolean-return': "off";
60
- 'sonarjs/pseudo-random': "off";
61
- 'sonarjs/todo-tag': "off";
62
- 'regexp/hexadecimal-escape': ["error", string];
63
- 'regexp/letter-case': "error";
64
- 'regexp/no-empty-character-class': "error";
65
- 'regexp/no-extra-lookaround-assertions': "error";
66
- 'regexp/no-misleading-capturing-group': "error";
67
- 'regexp/no-misleading-unicode-character': "error";
68
- 'regexp/no-missing-g-flag': "error";
69
- 'regexp/no-octal': "error";
70
- 'regexp/no-standalone-backslash': "error";
71
- 'regexp/prefer-escape-replacement-dollar-char': "error";
72
- 'regexp/prefer-named-backreference': "error";
73
- 'regexp/prefer-named-replacement': "error";
74
- 'regexp/prefer-quantifier': "error";
75
- 'regexp/prefer-result-array-groups': "error";
76
- 'regexp/unicode-escape': "error";
77
- 'regexp/use-ignore-case': "error";
78
- 'promise/always-return': ["error", {
79
- ignoreAssignmentVariable: string[];
80
- ignoreLastCallback: boolean;
50
+ readonly 'sonarjs/cognitive-complexity': "off";
51
+ readonly 'sonarjs/function-return-type': "off";
52
+ readonly 'sonarjs/max-switch-cases': "off";
53
+ readonly 'sonarjs/no-inverted-boolean-check': "error";
54
+ readonly 'sonarjs/no-nested-template-literals': "off";
55
+ readonly 'sonarjs/no-selector-parameter': "off";
56
+ readonly 'sonarjs/no-small-switch': "off";
57
+ readonly 'sonarjs/prefer-immediate-return': "off";
58
+ readonly 'sonarjs/prefer-read-only-props': "off";
59
+ readonly 'sonarjs/prefer-regexp-exec': "off";
60
+ readonly 'sonarjs/prefer-single-boolean-return': "off";
61
+ readonly 'sonarjs/pseudo-random': "off";
62
+ readonly 'sonarjs/todo-tag': "off";
63
+ readonly 'regexp/hexadecimal-escape': ["error", "never"];
64
+ readonly 'regexp/letter-case': "error";
65
+ readonly 'regexp/no-empty-character-class': "error";
66
+ readonly 'regexp/no-extra-lookaround-assertions': "error";
67
+ readonly 'regexp/no-misleading-capturing-group': "error";
68
+ readonly 'regexp/no-misleading-unicode-character': "error";
69
+ readonly 'regexp/no-missing-g-flag': "error";
70
+ readonly 'regexp/no-octal': "error";
71
+ readonly 'regexp/no-standalone-backslash': "error";
72
+ readonly 'regexp/prefer-escape-replacement-dollar-char': "error";
73
+ readonly 'regexp/prefer-named-backreference': "error";
74
+ readonly 'regexp/prefer-named-replacement': "error";
75
+ readonly 'regexp/prefer-quantifier': "error";
76
+ readonly 'regexp/prefer-result-array-groups': "error";
77
+ readonly 'regexp/unicode-escape': "error";
78
+ readonly 'regexp/use-ignore-case': "error";
79
+ readonly 'promise/always-return': ["error", {
80
+ readonly ignoreAssignmentVariable: readonly ["globalThis", "window"];
81
+ readonly ignoreLastCallback: true;
81
82
  }];
82
- 'promise/no-multiple-resolved': "error";
83
- 'jsdoc/check-indentation': "error";
84
- 'jsdoc/check-param-names': ["error", {
85
- checkDestructured: boolean;
83
+ readonly 'promise/no-multiple-resolved': "error";
84
+ readonly 'jsdoc/check-indentation': "error";
85
+ readonly 'jsdoc/check-param-names': ["error", {
86
+ readonly checkDestructured: false;
86
87
  }];
87
- 'jsdoc/check-syntax': "error";
88
- 'jsdoc/match-description': ["error", {
89
- matchDescription: string;
90
- tags: {
91
- param: boolean;
92
- returns: boolean;
88
+ readonly 'jsdoc/check-syntax': "error";
89
+ readonly 'jsdoc/match-description': ["error", {
90
+ readonly matchDescription: "[A-Z]";
91
+ readonly tags: {
92
+ readonly param: true;
93
+ readonly returns: true;
93
94
  };
94
95
  }];
95
- 'jsdoc/no-bad-blocks': "error";
96
- 'jsdoc/no-defaults': "error";
97
- 'jsdoc/require-asterisk-prefix': "error";
98
- 'jsdoc/require-jsdoc': "off";
99
- 'jsdoc/require-param': ["error", {
100
- checkConstructors: boolean;
101
- checkDestructured: boolean;
102
- ignoreWhenAllParamsMissing: boolean;
96
+ readonly 'jsdoc/no-bad-blocks': "error";
97
+ readonly 'jsdoc/no-defaults': "error";
98
+ readonly 'jsdoc/require-asterisk-prefix': "error";
99
+ readonly 'jsdoc/require-jsdoc': "off";
100
+ readonly 'jsdoc/require-param': ["error", {
101
+ readonly checkConstructors: false;
102
+ readonly checkDestructured: false;
103
+ readonly ignoreWhenAllParamsMissing: true;
103
104
  }];
104
- 'jsdoc/require-returns': "off";
105
- 'jsdoc/sort-tags': "error";
106
- 'jsdoc/tag-lines': ["error", string, {
107
- startLines: number;
105
+ readonly 'jsdoc/require-returns': "off";
106
+ readonly 'jsdoc/sort-tags': "error";
107
+ readonly 'jsdoc/tag-lines': ["error", "any", {
108
+ readonly startLines: 1;
108
109
  }];
109
- 'import-x/consistent-type-specifier-style': ["error", string];
110
- 'import-x/first': ["error"];
111
- 'import-x/newline-after-import': "error";
112
- 'import-x/no-absolute-path': "error";
113
- 'import-x/no-amd': "error";
114
- 'import-x/no-anonymous-default-export': ["error", {
115
- allowArray: boolean;
116
- allowCallExpression: boolean;
117
- allowLiteral: boolean;
118
- allowNew: boolean;
119
- allowObject: boolean;
110
+ readonly 'import-x/consistent-type-specifier-style': ["error", "prefer-top-level"];
111
+ readonly 'import-x/first': ["error"];
112
+ readonly 'import-x/newline-after-import': "error";
113
+ readonly 'import-x/no-absolute-path': "error";
114
+ readonly 'import-x/no-amd': "error";
115
+ readonly 'import-x/no-anonymous-default-export': ["error", {
116
+ readonly allowArray: true;
117
+ readonly allowCallExpression: true;
118
+ readonly allowLiteral: true;
119
+ readonly allowNew: true;
120
+ readonly allowObject: true;
120
121
  }];
121
- 'import-x/no-commonjs': "error";
122
- 'import-x/no-cycle': ["error", {
123
- ignoreExternal: boolean;
122
+ readonly 'import-x/no-commonjs': "error";
123
+ readonly 'import-x/no-cycle': ["error", {
124
+ readonly ignoreExternal: true;
124
125
  }];
125
- 'import-x/no-duplicates': "error";
126
- 'import-x/no-dynamic-require': "error";
127
- 'import-x/no-empty-named-blocks': "error";
128
- 'import-x/no-extraneous-dependencies': "error";
129
- 'import-x/no-mutable-exports': "error";
130
- 'import-x/no-named-as-default-member': "off";
131
- 'import-x/no-named-default': "error";
132
- 'import-x/no-self-import': "error";
133
- 'import-x/no-unresolved': ["error", {
134
- caseSensitiveStrict: boolean;
126
+ readonly 'import-x/no-duplicates': "error";
127
+ readonly 'import-x/no-dynamic-require': "error";
128
+ readonly 'import-x/no-empty-named-blocks': "error";
129
+ readonly 'import-x/no-extraneous-dependencies': "error";
130
+ readonly 'import-x/no-mutable-exports': "error";
131
+ readonly 'import-x/no-named-as-default-member': "off";
132
+ readonly 'import-x/no-named-default': "error";
133
+ readonly 'import-x/no-self-import': "error";
134
+ readonly 'import-x/no-unresolved': ["error", {
135
+ readonly caseSensitiveStrict: true;
135
136
  }];
136
- 'import-x/no-unused-modules': "error";
137
- 'import-x/no-useless-path-segments': "error";
138
- 'import-x/no-webpack-loader-syntax': "error";
139
- 'import-x/order': ["error", {
140
- alphabetize: {
141
- caseInsensitive: boolean;
142
- order: string;
143
- orderImportKind: string;
137
+ readonly 'import-x/no-unused-modules': "error";
138
+ readonly 'import-x/no-useless-path-segments': "error";
139
+ readonly 'import-x/no-webpack-loader-syntax': "error";
140
+ readonly 'import-x/order': ["error", {
141
+ readonly alphabetize: {
142
+ readonly caseInsensitive: true;
143
+ readonly order: "asc";
144
+ readonly orderImportKind: "asc";
144
145
  };
145
- groups: string[];
146
- named: boolean;
147
- 'newlines-between': string;
148
- pathGroups: {
149
- pattern: string;
150
- group: string;
151
- }[];
146
+ readonly groups: readonly ["builtin", "external", "internal", "parent", "sibling", "index"];
147
+ readonly named: true;
148
+ readonly 'newlines-between': "always";
149
+ readonly pathGroups: readonly [{
150
+ readonly pattern: string;
151
+ readonly group: "external";
152
+ }, {
153
+ readonly pattern: string;
154
+ readonly group: "internal";
155
+ }];
152
156
  }];
153
- 'import-x/prefer-default-export': "off";
154
- 'import-x/named': "error";
155
- 'import-x/namespace': "error";
156
- 'import-x/default': "error";
157
- 'import-x/export': "error";
158
- 'import-x/no-named-as-default': "warn";
159
- 'eslint-comments/no-unused-disable': "error";
160
- 'eslint-comments/require-description': "error";
161
- 'accessor-pairs': ["error", {
157
+ readonly 'import-x/prefer-default-export': "off";
158
+ readonly 'import-x/named': "error";
159
+ readonly 'import-x/namespace': "error";
160
+ readonly 'import-x/default': "error";
161
+ readonly 'import-x/export': "error";
162
+ readonly 'import-x/no-named-as-default': "warn";
163
+ readonly 'eslint-comments/no-unused-disable': "error";
164
+ readonly 'eslint-comments/require-description': "error";
165
+ readonly 'accessor-pairs': ["error", {
162
166
  setWithoutGet: boolean;
163
167
  }];
164
- 'array-callback-return': "error";
165
- 'block-scoped-var': "error";
166
- 'capitalized-comments': ["error", string, {
168
+ readonly 'array-callback-return': "error";
169
+ readonly 'block-scoped-var': "error";
170
+ readonly 'capitalized-comments': ["error", string, {
167
171
  ignoreConsecutiveComments: boolean;
168
172
  ignorePattern: string;
169
173
  }];
170
- 'consistent-return': "error";
171
- 'consistent-this': ["error", string];
172
- 'constructor-super': "error";
173
- curly: ["error", string];
174
- 'default-case': "error";
175
- 'default-case-last': "error";
176
- 'default-param-last': "error";
177
- 'dot-notation': "error";
178
- eqeqeq: ["error", string, {
174
+ readonly 'consistent-return': "error";
175
+ readonly 'consistent-this': ["error", string];
176
+ readonly 'constructor-super': "error";
177
+ readonly curly: ["error", string];
178
+ readonly 'default-case': "error";
179
+ readonly 'default-case-last': "error";
180
+ readonly 'default-param-last': "error";
181
+ readonly 'dot-notation': "error";
182
+ readonly eqeqeq: ["error", string, {
179
183
  null: string;
180
184
  }];
181
- 'for-direction': "error";
182
- 'func-names': ["error", string];
183
- 'func-style': ["error", string, {
185
+ readonly 'for-direction': "error";
186
+ readonly 'func-names': ["error", string];
187
+ readonly 'func-style': ["error", string, {
184
188
  allowArrowFunctions: boolean;
185
189
  }];
186
- 'getter-return': "error";
187
- 'global-require': "error";
188
- 'grouped-accessor-pairs': ["error", string];
189
- 'guard-for-in': "error";
190
- 'id-denylist': ["error", string, string, string, string, string, string, string];
191
- 'lines-between-class-members': "off";
192
- 'logical-assignment-operators': ["error", string];
193
- 'max-statements-per-line': "off";
194
- 'multiline-comment-style': "off";
195
- 'new-cap': "off";
196
- 'no-alert': "error";
197
- 'no-array-constructor': "error";
198
- 'no-async-promise-executor': "error";
199
- 'no-await-in-loop': "error";
200
- 'no-bitwise': "error";
201
- 'no-buffer-constructor': "error";
202
- 'no-caller': "error";
203
- 'no-case-declarations': "error";
204
- 'no-class-assign': "error";
205
- 'no-compare-neg-zero': "error";
206
- 'no-cond-assign': "error";
207
- 'no-const-assign': "error";
208
- 'no-constant-binary-expression': "error";
209
- 'no-constant-condition': "error";
210
- 'no-constructor-return': "error";
211
- 'no-control-regex': "error";
212
- 'no-debugger': "error";
213
- 'no-delete-var': "error";
214
- 'no-div-regex': "error";
215
- 'no-dupe-args': "error";
216
- 'no-dupe-class-members': "error";
217
- 'no-dupe-else-if': "error";
218
- 'no-dupe-keys': "error";
219
- 'no-duplicate-case': "error";
220
- 'no-duplicate-imports': "error";
221
- 'no-empty': "error";
222
- 'no-empty-character-class': "error";
223
- 'no-empty-function': "error";
224
- 'no-empty-pattern': ["error", {
190
+ readonly 'getter-return': "error";
191
+ readonly 'global-require': "error";
192
+ readonly 'grouped-accessor-pairs': ["error", string];
193
+ readonly 'guard-for-in': "error";
194
+ readonly 'id-denylist': ["error", string, string, string, string, string, string, string];
195
+ readonly 'lines-between-class-members': "off";
196
+ readonly 'logical-assignment-operators': ["error", string];
197
+ readonly 'max-statements-per-line': "off";
198
+ readonly 'multiline-comment-style': "off";
199
+ readonly 'new-cap': "off";
200
+ readonly 'no-alert': "error";
201
+ readonly 'no-array-constructor': "error";
202
+ readonly 'no-async-promise-executor': "error";
203
+ readonly 'no-await-in-loop': "error";
204
+ readonly 'no-bitwise': "error";
205
+ readonly 'no-buffer-constructor': "error";
206
+ readonly 'no-caller': "error";
207
+ readonly 'no-case-declarations': "error";
208
+ readonly 'no-class-assign': "error";
209
+ readonly 'no-compare-neg-zero': "error";
210
+ readonly 'no-cond-assign': "error";
211
+ readonly 'no-const-assign': "error";
212
+ readonly 'no-constant-binary-expression': "error";
213
+ readonly 'no-constant-condition': "error";
214
+ readonly 'no-constructor-return': "error";
215
+ readonly 'no-control-regex': "error";
216
+ readonly 'no-debugger': "error";
217
+ readonly 'no-delete-var': "error";
218
+ readonly 'no-div-regex': "error";
219
+ readonly 'no-dupe-args': "error";
220
+ readonly 'no-dupe-class-members': "error";
221
+ readonly 'no-dupe-else-if': "error";
222
+ readonly 'no-dupe-keys': "error";
223
+ readonly 'no-duplicate-case': "error";
224
+ readonly 'no-duplicate-imports': "error";
225
+ readonly 'no-empty': "error";
226
+ readonly 'no-empty-character-class': "error";
227
+ readonly 'no-empty-function': "error";
228
+ readonly 'no-empty-pattern': ["error", {
225
229
  allowObjectPatternsAsParameters: boolean;
226
230
  }];
227
- 'no-empty-static-block': "error";
228
- 'no-eval': "error";
229
- 'no-ex-assign': "error";
230
- 'no-extend-native': "error";
231
- 'no-extra-bind': "error";
232
- 'no-extra-boolean-cast': "error";
233
- 'no-extra-label': "error";
234
- 'no-fallthrough': "error";
235
- 'no-func-assign': "error";
236
- 'no-global-assign': "error";
237
- 'no-implicit-coercion': "error";
238
- 'no-implicit-globals': "error";
239
- 'no-implied-eval': "error";
240
- 'no-import-assign': "error";
241
- 'no-inner-declarations': "error";
242
- 'no-invalid-regexp': "error";
243
- 'no-invalid-this': "error";
244
- 'no-irregular-whitespace': "error";
245
- 'no-iterator': "error";
246
- 'no-label-var': "error";
247
- 'no-labels': ["error", {
231
+ readonly 'no-empty-static-block': "error";
232
+ readonly 'no-eval': "error";
233
+ readonly 'no-ex-assign': "error";
234
+ readonly 'no-extend-native': "error";
235
+ readonly 'no-extra-bind': "error";
236
+ readonly 'no-extra-boolean-cast': "error";
237
+ readonly 'no-extra-label': "error";
238
+ readonly 'no-fallthrough': "error";
239
+ readonly 'no-func-assign': "error";
240
+ readonly 'no-global-assign': "error";
241
+ readonly 'no-implicit-coercion': "error";
242
+ readonly 'no-implicit-globals': "error";
243
+ readonly 'no-implied-eval': "error";
244
+ readonly 'no-import-assign': "error";
245
+ readonly 'no-inner-declarations': "error";
246
+ readonly 'no-invalid-regexp': "error";
247
+ readonly 'no-invalid-this': "error";
248
+ readonly 'no-irregular-whitespace': "error";
249
+ readonly 'no-iterator': "error";
250
+ readonly 'no-label-var': "error";
251
+ readonly 'no-labels': ["error", {
248
252
  allowLoop: boolean;
249
253
  }];
250
- 'no-lone-blocks': "error";
251
- 'no-loop-func': "error";
252
- 'no-loss-of-precision': "error";
253
- 'no-magic-numbers': "off";
254
- 'no-misleading-character-class': "error";
255
- 'no-mixed-requires': "error";
256
- 'no-multi-assign': "error";
257
- 'no-multi-str': "error";
258
- 'no-nested-ternary': "error";
259
- 'no-new': "error";
260
- 'no-new-func': "error";
261
- 'no-new-native-nonconstructor': "error";
262
- 'no-new-object': "error";
263
- 'no-new-require': "error";
264
- 'no-new-wrappers': "error";
265
- 'no-nonoctal-decimal-escape': "error";
266
- 'no-obj-calls': "error";
267
- 'no-octal': "error";
268
- 'no-octal-escape': "error";
269
- 'no-path-concat': "error";
270
- 'no-plusplus': "error";
271
- 'no-process-env': "error";
272
- 'no-process-exit': "error";
273
- 'no-promise-executor-return': "error";
274
- 'no-proto': "error";
275
- 'no-prototype-builtins': "error";
276
- 'no-redeclare': "error";
277
- 'no-regex-spaces': "error";
278
- 'no-restricted-globals': ["error", string];
279
- 'no-restricted-syntax': ["error", string, string];
280
- 'no-return-assign': "error";
281
- 'no-return-await': "error";
282
- 'no-script-url': "error";
283
- 'no-self-assign': "error";
284
- 'no-self-compare': "error";
285
- 'no-sequences': "error";
286
- 'no-setter-return': "error";
287
- 'no-shadow': ["error", {
254
+ readonly 'no-lone-blocks': "error";
255
+ readonly 'no-loop-func': "error";
256
+ readonly 'no-loss-of-precision': "error";
257
+ readonly 'no-magic-numbers': "off";
258
+ readonly 'no-misleading-character-class': "error";
259
+ readonly 'no-mixed-requires': "error";
260
+ readonly 'no-multi-assign': "error";
261
+ readonly 'no-multi-str': "error";
262
+ readonly 'no-nested-ternary': "error";
263
+ readonly 'no-new': "error";
264
+ readonly 'no-new-func': "error";
265
+ readonly 'no-new-native-nonconstructor': "error";
266
+ readonly 'no-new-object': "error";
267
+ readonly 'no-new-require': "error";
268
+ readonly 'no-new-wrappers': "error";
269
+ readonly 'no-nonoctal-decimal-escape': "error";
270
+ readonly 'no-obj-calls': "error";
271
+ readonly 'no-octal': "error";
272
+ readonly 'no-octal-escape': "error";
273
+ readonly 'no-path-concat': "error";
274
+ readonly 'no-plusplus': "error";
275
+ readonly 'no-process-env': "error";
276
+ readonly 'no-process-exit': "error";
277
+ readonly 'no-promise-executor-return': "error";
278
+ readonly 'no-proto': "error";
279
+ readonly 'no-prototype-builtins': "error";
280
+ readonly 'no-redeclare': "error";
281
+ readonly 'no-regex-spaces': "error";
282
+ readonly 'no-restricted-globals': ["error", string];
283
+ readonly 'no-restricted-syntax': ["error", string, string];
284
+ readonly 'no-return-assign': "error";
285
+ readonly 'no-return-await': "error";
286
+ readonly 'no-script-url': "error";
287
+ readonly 'no-self-assign': "error";
288
+ readonly 'no-self-compare': "error";
289
+ readonly 'no-sequences': "error";
290
+ readonly 'no-setter-return': "error";
291
+ readonly 'no-shadow': ["error", {
288
292
  hoist: string;
289
293
  }];
290
- 'no-shadow-restricted-names': "error";
291
- 'no-sparse-arrays': "error";
292
- 'no-template-curly-in-string': "error";
293
- 'no-this-before-super': "error";
294
- 'no-throw-literal': "error";
295
- 'no-undef': "error";
296
- 'no-undef-init': "error";
297
- 'no-underscore-dangle': ["error", {
294
+ readonly 'no-shadow-restricted-names': "error";
295
+ readonly 'no-sparse-arrays': "error";
296
+ readonly 'no-template-curly-in-string': "error";
297
+ readonly 'no-this-before-super': "error";
298
+ readonly 'no-throw-literal': "error";
299
+ readonly 'no-undef': "error";
300
+ readonly 'no-undef-init': "error";
301
+ readonly 'no-underscore-dangle': ["error", {
298
302
  allow: string[];
299
303
  allowAfterSuper: boolean;
300
304
  allowAfterThis: boolean;
@@ -304,65 +308,65 @@ declare const _default: {
304
308
  enforceInClassFields: boolean;
305
309
  enforceInMethodNames: boolean;
306
310
  }];
307
- 'no-unmodified-loop-condition': "error";
308
- 'no-unneeded-ternary': "error";
309
- 'no-unreachable': "error";
310
- 'no-unreachable-loop': "error";
311
- 'no-unsafe-finally': "error";
312
- 'no-unsafe-negation': "error";
313
- 'no-unsafe-optional-chaining': "error";
314
- 'no-unused-expressions': "error";
315
- 'no-unused-labels': "error";
316
- 'no-unused-private-class-members': "error";
317
- 'no-unused-vars': ["error", {
311
+ readonly 'no-unmodified-loop-condition': "error";
312
+ readonly 'no-unneeded-ternary': "error";
313
+ readonly 'no-unreachable': "error";
314
+ readonly 'no-unreachable-loop': "error";
315
+ readonly 'no-unsafe-finally': "error";
316
+ readonly 'no-unsafe-negation': "error";
317
+ readonly 'no-unsafe-optional-chaining': "error";
318
+ readonly 'no-unused-expressions': "error";
319
+ readonly 'no-unused-labels': "error";
320
+ readonly 'no-unused-private-class-members': "error";
321
+ readonly 'no-unused-vars': ["error", {
318
322
  argsIgnorePattern: string;
319
323
  caughtErrorsIgnorePattern: string;
320
324
  varsIgnorePattern: string;
321
325
  }];
322
- 'no-use-before-define': "error";
323
- 'no-useless-backreference': "error";
324
- 'no-useless-call': "error";
325
- 'no-useless-catch': "error";
326
- 'no-useless-computed-key': ["error", {
326
+ readonly 'no-use-before-define': "error";
327
+ readonly 'no-useless-backreference': "error";
328
+ readonly 'no-useless-call': "error";
329
+ readonly 'no-useless-catch': "error";
330
+ readonly 'no-useless-computed-key': ["error", {
327
331
  enforceForClassMembers: boolean;
328
332
  }];
329
- 'no-useless-concat': "error";
330
- 'no-useless-constructor': "error";
331
- 'no-useless-escape': "error";
332
- 'no-useless-rename': "error";
333
- 'no-useless-return': "error";
334
- 'no-var': "error";
335
- 'no-void': "error";
336
- 'no-with': "error";
337
- 'object-shorthand': ["error", string, {
333
+ readonly 'no-useless-concat': "error";
334
+ readonly 'no-useless-constructor': "error";
335
+ readonly 'no-useless-escape': "error";
336
+ readonly 'no-useless-rename': "error";
337
+ readonly 'no-useless-return': "error";
338
+ readonly 'no-var': "error";
339
+ readonly 'no-void': "error";
340
+ readonly 'no-with': "error";
341
+ readonly 'object-shorthand': ["error", string, {
338
342
  avoidExplicitReturnArrows: boolean;
339
343
  avoidQuotes: boolean;
340
344
  }];
341
- 'one-var': ["error", string];
342
- 'operator-assignment': "error";
343
- 'padding-line-between-statements': "off";
344
- 'prefer-arrow-callback': "error";
345
- 'prefer-const': "error";
346
- 'prefer-destructuring': "off";
347
- 'prefer-exponentiation-operator': "error";
348
- 'prefer-numeric-literals': "error";
349
- 'prefer-object-spread': "error";
350
- 'prefer-promise-reject-errors': "error";
351
- 'prefer-regex-literals': ["error", {
345
+ readonly 'one-var': ["error", string];
346
+ readonly 'operator-assignment': "error";
347
+ readonly 'padding-line-between-statements': "off";
348
+ readonly 'prefer-arrow-callback': "error";
349
+ readonly 'prefer-const': "error";
350
+ readonly 'prefer-destructuring': "off";
351
+ readonly 'prefer-exponentiation-operator': "error";
352
+ readonly 'prefer-numeric-literals': "error";
353
+ readonly 'prefer-object-spread': "error";
354
+ readonly 'prefer-promise-reject-errors': "error";
355
+ readonly 'prefer-regex-literals': ["error", {
352
356
  disallowRedundantWrapping: boolean;
353
357
  }];
354
- 'prefer-rest-params': "error";
355
- 'prefer-spread': "error";
356
- 'prefer-template': "error";
357
- radix: "error";
358
- 'require-atomic-updates': "error";
359
- 'require-unicode-regexp': "error";
360
- 'require-yield': "error";
361
- 'spaced-comment': "off";
362
- 'symbol-description': "error";
363
- 'use-isnan': "error";
364
- 'valid-typeof': "error";
365
- 'vars-on-top': "error";
366
- yoda: "error";
358
+ readonly 'prefer-rest-params': "error";
359
+ readonly 'prefer-spread': "error";
360
+ readonly 'prefer-template': "error";
361
+ readonly radix: "error";
362
+ readonly 'require-atomic-updates': "error";
363
+ readonly 'require-unicode-regexp': "error";
364
+ readonly 'require-yield': "error";
365
+ readonly 'spaced-comment': "off";
366
+ readonly 'symbol-description': "error";
367
+ readonly 'use-isnan': "error";
368
+ readonly 'valid-typeof': "error";
369
+ readonly 'vars-on-top': "error";
370
+ readonly yoda: "error";
367
371
  };
368
372
  export default _default;