@pobammer-ts/small-rules 2.5.0 → 2.6.0

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +33 -0
  2. package/dist/index.js +10 -10
  3. package/package.json +129 -128
package/dist/index.d.ts CHANGED
@@ -205,6 +205,39 @@ declare const smallRules: import("oxlint-plugin-utilities").Plugin<{
205
205
  readonly type: "array";
206
206
  readonly uniqueItems: true;
207
207
  };
208
+ readonly callbackParameterTypes: {
209
+ readonly items: {
210
+ readonly additionalProperties: false;
211
+ readonly properties: {
212
+ readonly callbackArgumentIndex: {
213
+ readonly minimum: 0;
214
+ readonly type: "integer";
215
+ };
216
+ readonly className: {
217
+ readonly type: "string";
218
+ };
219
+ readonly imported: {
220
+ readonly type: "string";
221
+ };
222
+ readonly memberPath: {
223
+ readonly items: {
224
+ readonly type: "string";
225
+ };
226
+ readonly type: "array";
227
+ };
228
+ readonly parameterIndex: {
229
+ readonly minimum: 0;
230
+ readonly type: "integer";
231
+ };
232
+ readonly source: {
233
+ readonly type: "string";
234
+ };
235
+ };
236
+ readonly required: readonly ["callbackArgumentIndex", "className", "imported", "memberPath", "parameterIndex", "source"];
237
+ readonly type: "object";
238
+ };
239
+ readonly type: "array";
240
+ };
208
241
  };
209
242
  readonly type: "object";
210
243
  }], "noAsyncInSystem", undefined>;