@jimmy.codes/eslint-config 7.2.0 → 7.3.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.
- package/dist/index.d.mts +95 -75
- package/dist/index.mjs +8 -0
- package/package.json +16 -16
package/dist/index.d.mts
CHANGED
|
@@ -2238,357 +2238,357 @@ interface RuleOptions {
|
|
|
2238
2238
|
'jest-dom/prefer-to-have-value'?: Linter.RuleEntry<[]>;
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Enforce `test` and `it` usage conventions
|
|
2241
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2241
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/consistent-test-it.md
|
|
2242
2242
|
*/
|
|
2243
2243
|
'jest/consistent-test-it'?: Linter.RuleEntry<JestConsistentTestIt>;
|
|
2244
2244
|
/**
|
|
2245
2245
|
* Enforce assertion to be made in a test body
|
|
2246
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2246
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/expect-expect.md
|
|
2247
2247
|
*/
|
|
2248
2248
|
'jest/expect-expect'?: Linter.RuleEntry<JestExpectExpect>;
|
|
2249
2249
|
/**
|
|
2250
2250
|
* Enforces a maximum number assertion calls in a test body
|
|
2251
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2251
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/max-expects.md
|
|
2252
2252
|
*/
|
|
2253
2253
|
'jest/max-expects'?: Linter.RuleEntry<JestMaxExpects>;
|
|
2254
2254
|
/**
|
|
2255
2255
|
* Enforces a maximum depth to nested describe calls
|
|
2256
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2256
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/max-nested-describe.md
|
|
2257
2257
|
*/
|
|
2258
2258
|
'jest/max-nested-describe'?: Linter.RuleEntry<JestMaxNestedDescribe>;
|
|
2259
2259
|
/**
|
|
2260
2260
|
* Disallow alias methods
|
|
2261
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2261
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-alias-methods.md
|
|
2262
2262
|
*/
|
|
2263
2263
|
'jest/no-alias-methods'?: Linter.RuleEntry<[]>;
|
|
2264
2264
|
/**
|
|
2265
2265
|
* Disallow commented out tests
|
|
2266
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2266
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-commented-out-tests.md
|
|
2267
2267
|
*/
|
|
2268
2268
|
'jest/no-commented-out-tests'?: Linter.RuleEntry<[]>;
|
|
2269
2269
|
/**
|
|
2270
2270
|
* Disallow calling `expect` conditionally
|
|
2271
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2271
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-conditional-expect.md
|
|
2272
2272
|
*/
|
|
2273
2273
|
'jest/no-conditional-expect'?: Linter.RuleEntry<[]>;
|
|
2274
2274
|
/**
|
|
2275
2275
|
* Disallow conditional logic in tests
|
|
2276
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2276
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-conditional-in-test.md
|
|
2277
2277
|
*/
|
|
2278
|
-
'jest/no-conditional-in-test'?: Linter.RuleEntry<
|
|
2278
|
+
'jest/no-conditional-in-test'?: Linter.RuleEntry<JestNoConditionalInTest>;
|
|
2279
2279
|
/**
|
|
2280
2280
|
* Disallow confusing usages of jest.setTimeout
|
|
2281
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2281
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-confusing-set-timeout.md
|
|
2282
2282
|
*/
|
|
2283
2283
|
'jest/no-confusing-set-timeout'?: Linter.RuleEntry<[]>;
|
|
2284
2284
|
/**
|
|
2285
2285
|
* Disallow use of deprecated functions
|
|
2286
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2286
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-deprecated-functions.md
|
|
2287
2287
|
*/
|
|
2288
2288
|
'jest/no-deprecated-functions'?: Linter.RuleEntry<[]>;
|
|
2289
2289
|
/**
|
|
2290
2290
|
* Disallow disabled tests
|
|
2291
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2291
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-disabled-tests.md
|
|
2292
2292
|
*/
|
|
2293
2293
|
'jest/no-disabled-tests'?: Linter.RuleEntry<[]>;
|
|
2294
2294
|
/**
|
|
2295
2295
|
* Disallow using a callback in asynchronous tests and hooks
|
|
2296
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2296
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-done-callback.md
|
|
2297
2297
|
*/
|
|
2298
2298
|
'jest/no-done-callback'?: Linter.RuleEntry<[]>;
|
|
2299
2299
|
/**
|
|
2300
2300
|
* Disallow duplicate setup and teardown hooks
|
|
2301
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2301
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-duplicate-hooks.md
|
|
2302
2302
|
*/
|
|
2303
2303
|
'jest/no-duplicate-hooks'?: Linter.RuleEntry<[]>;
|
|
2304
2304
|
/**
|
|
2305
2305
|
* Disallow using equality matchers on error types
|
|
2306
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2306
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-error-equal.md
|
|
2307
2307
|
*/
|
|
2308
2308
|
'jest/no-error-equal'?: Linter.RuleEntry<[]>;
|
|
2309
2309
|
/**
|
|
2310
2310
|
* Disallow using `exports` in files containing tests
|
|
2311
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2311
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-export.md
|
|
2312
2312
|
*/
|
|
2313
2313
|
'jest/no-export'?: Linter.RuleEntry<[]>;
|
|
2314
2314
|
/**
|
|
2315
2315
|
* Disallow focused tests
|
|
2316
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2316
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-focused-tests.md
|
|
2317
2317
|
*/
|
|
2318
2318
|
'jest/no-focused-tests'?: Linter.RuleEntry<[]>;
|
|
2319
2319
|
/**
|
|
2320
2320
|
* Disallow setup and teardown hooks
|
|
2321
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2321
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-hooks.md
|
|
2322
2322
|
*/
|
|
2323
2323
|
'jest/no-hooks'?: Linter.RuleEntry<JestNoHooks>;
|
|
2324
2324
|
/**
|
|
2325
2325
|
* Disallow identical titles
|
|
2326
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2326
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-identical-title.md
|
|
2327
2327
|
*/
|
|
2328
2328
|
'jest/no-identical-title'?: Linter.RuleEntry<[]>;
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Disallow string interpolation inside snapshots
|
|
2331
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2331
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-interpolation-in-snapshots.md
|
|
2332
2332
|
*/
|
|
2333
2333
|
'jest/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>;
|
|
2334
2334
|
/**
|
|
2335
2335
|
* Disallow Jasmine globals
|
|
2336
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2336
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-jasmine-globals.md
|
|
2337
2337
|
*/
|
|
2338
2338
|
'jest/no-jasmine-globals'?: Linter.RuleEntry<[]>;
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Disallow large snapshots
|
|
2341
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2341
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-large-snapshots.md
|
|
2342
2342
|
*/
|
|
2343
2343
|
'jest/no-large-snapshots'?: Linter.RuleEntry<JestNoLargeSnapshots>;
|
|
2344
2344
|
/**
|
|
2345
2345
|
* Disallow manually importing from `__mocks__`
|
|
2346
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2346
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-mocks-import.md
|
|
2347
2347
|
*/
|
|
2348
2348
|
'jest/no-mocks-import'?: Linter.RuleEntry<[]>;
|
|
2349
2349
|
/**
|
|
2350
2350
|
* Disallow specific `jest.` methods
|
|
2351
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2351
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-restricted-jest-methods.md
|
|
2352
2352
|
*/
|
|
2353
2353
|
'jest/no-restricted-jest-methods'?: Linter.RuleEntry<JestNoRestrictedJestMethods>;
|
|
2354
2354
|
/**
|
|
2355
2355
|
* Disallow specific matchers & modifiers
|
|
2356
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2356
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-restricted-matchers.md
|
|
2357
2357
|
*/
|
|
2358
2358
|
'jest/no-restricted-matchers'?: Linter.RuleEntry<JestNoRestrictedMatchers>;
|
|
2359
2359
|
/**
|
|
2360
2360
|
* Disallow using `expect` outside of `it` or `test` blocks
|
|
2361
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2361
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-standalone-expect.md
|
|
2362
2362
|
*/
|
|
2363
2363
|
'jest/no-standalone-expect'?: Linter.RuleEntry<JestNoStandaloneExpect>;
|
|
2364
2364
|
/**
|
|
2365
2365
|
* Require using `.only` and `.skip` over `f` and `x`
|
|
2366
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2366
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-test-prefixes.md
|
|
2367
2367
|
*/
|
|
2368
2368
|
'jest/no-test-prefixes'?: Linter.RuleEntry<[]>;
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Disallow explicitly returning from tests
|
|
2371
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2371
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-test-return-statement.md
|
|
2372
2372
|
*/
|
|
2373
2373
|
'jest/no-test-return-statement'?: Linter.RuleEntry<[]>;
|
|
2374
2374
|
/**
|
|
2375
2375
|
* Disallow unnecessary assertions based on types
|
|
2376
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2376
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-unnecessary-assertion.md
|
|
2377
2377
|
*/
|
|
2378
2378
|
'jest/no-unnecessary-assertion'?: Linter.RuleEntry<[]>;
|
|
2379
2379
|
/**
|
|
2380
2380
|
* Disallow unnecessary async function wrapper for expected promises
|
|
2381
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2381
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-unneeded-async-expect-function.md
|
|
2382
2382
|
*/
|
|
2383
2383
|
'jest/no-unneeded-async-expect-function'?: Linter.RuleEntry<[]>;
|
|
2384
2384
|
/**
|
|
2385
2385
|
* Disallow using `jest.mock()` factories without an explicit type parameter
|
|
2386
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2386
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/no-untyped-mock-factory.md
|
|
2387
2387
|
*/
|
|
2388
2388
|
'jest/no-untyped-mock-factory'?: Linter.RuleEntry<[]>;
|
|
2389
2389
|
/**
|
|
2390
2390
|
* Enforce padding around `afterAll` blocks
|
|
2391
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2391
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-after-all-blocks.md
|
|
2392
2392
|
*/
|
|
2393
2393
|
'jest/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>;
|
|
2394
2394
|
/**
|
|
2395
2395
|
* Enforce padding around `afterEach` blocks
|
|
2396
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2396
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-after-each-blocks.md
|
|
2397
2397
|
*/
|
|
2398
2398
|
'jest/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>;
|
|
2399
2399
|
/**
|
|
2400
2400
|
* Enforce padding around Jest functions
|
|
2401
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2401
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-all.md
|
|
2402
2402
|
*/
|
|
2403
2403
|
'jest/padding-around-all'?: Linter.RuleEntry<[]>;
|
|
2404
2404
|
/**
|
|
2405
2405
|
* Enforce padding around `beforeAll` blocks
|
|
2406
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2406
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-before-all-blocks.md
|
|
2407
2407
|
*/
|
|
2408
2408
|
'jest/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>;
|
|
2409
2409
|
/**
|
|
2410
2410
|
* Enforce padding around `beforeEach` blocks
|
|
2411
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2411
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-before-each-blocks.md
|
|
2412
2412
|
*/
|
|
2413
2413
|
'jest/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>;
|
|
2414
2414
|
/**
|
|
2415
2415
|
* Enforce padding around `describe` blocks
|
|
2416
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2416
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-describe-blocks.md
|
|
2417
2417
|
*/
|
|
2418
2418
|
'jest/padding-around-describe-blocks'?: Linter.RuleEntry<[]>;
|
|
2419
2419
|
/**
|
|
2420
2420
|
* Enforce padding around `expect` groups
|
|
2421
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2421
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-expect-groups.md
|
|
2422
2422
|
*/
|
|
2423
2423
|
'jest/padding-around-expect-groups'?: Linter.RuleEntry<[]>;
|
|
2424
2424
|
/**
|
|
2425
2425
|
* Enforce padding around `test` and `it` blocks
|
|
2426
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2426
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/padding-around-test-blocks.md
|
|
2427
2427
|
*/
|
|
2428
2428
|
'jest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
2429
2429
|
/**
|
|
2430
2430
|
* Suggest using `toHaveBeenCalledWith()`
|
|
2431
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2431
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-called-with.md
|
|
2432
2432
|
*/
|
|
2433
2433
|
'jest/prefer-called-with'?: Linter.RuleEntry<[]>;
|
|
2434
2434
|
/**
|
|
2435
2435
|
* Suggest using the built-in comparison matchers
|
|
2436
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2436
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-comparison-matcher.md
|
|
2437
2437
|
*/
|
|
2438
2438
|
'jest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>;
|
|
2439
2439
|
/**
|
|
2440
2440
|
* Prefer using `.each` rather than manual loops
|
|
2441
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2441
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-each.md
|
|
2442
2442
|
*/
|
|
2443
2443
|
'jest/prefer-each'?: Linter.RuleEntry<[]>;
|
|
2444
2444
|
/**
|
|
2445
2445
|
* Prefer having the last statement in a test be an assertion
|
|
2446
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2446
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-ending-with-an-expect.md
|
|
2447
2447
|
*/
|
|
2448
2448
|
'jest/prefer-ending-with-an-expect'?: Linter.RuleEntry<JestPreferEndingWithAnExpect>;
|
|
2449
2449
|
/**
|
|
2450
2450
|
* Suggest using the built-in equality matchers
|
|
2451
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2451
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-equality-matcher.md
|
|
2452
2452
|
*/
|
|
2453
2453
|
'jest/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
|
|
2454
2454
|
/**
|
|
2455
2455
|
* Suggest using `expect.assertions()` OR `expect.hasAssertions()`
|
|
2456
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2456
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-expect-assertions.md
|
|
2457
2457
|
*/
|
|
2458
2458
|
'jest/prefer-expect-assertions'?: Linter.RuleEntry<JestPreferExpectAssertions>;
|
|
2459
2459
|
/**
|
|
2460
2460
|
* Prefer `await expect(...).resolves` over `expect(await ...)` syntax
|
|
2461
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2461
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-expect-resolves.md
|
|
2462
2462
|
*/
|
|
2463
2463
|
'jest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
2464
2464
|
/**
|
|
2465
2465
|
* Prefer having hooks in a consistent order
|
|
2466
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2466
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-hooks-in-order.md
|
|
2467
2467
|
*/
|
|
2468
2468
|
'jest/prefer-hooks-in-order'?: Linter.RuleEntry<[]>;
|
|
2469
2469
|
/**
|
|
2470
2470
|
* Suggest having hooks before any test cases
|
|
2471
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2471
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-hooks-on-top.md
|
|
2472
2472
|
*/
|
|
2473
2473
|
'jest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
2474
2474
|
/**
|
|
2475
2475
|
* Prefer importing Jest globals
|
|
2476
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2476
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-importing-jest-globals.md
|
|
2477
2477
|
*/
|
|
2478
2478
|
'jest/prefer-importing-jest-globals'?: Linter.RuleEntry<JestPreferImportingJestGlobals>;
|
|
2479
2479
|
/**
|
|
2480
2480
|
* Prefer `jest.mocked()` over `fn as jest.Mock`
|
|
2481
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2481
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-jest-mocked.md
|
|
2482
2482
|
*/
|
|
2483
2483
|
'jest/prefer-jest-mocked'?: Linter.RuleEntry<[]>;
|
|
2484
2484
|
/**
|
|
2485
2485
|
* Enforce lowercase test names
|
|
2486
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2486
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-lowercase-title.md
|
|
2487
2487
|
*/
|
|
2488
2488
|
'jest/prefer-lowercase-title'?: Linter.RuleEntry<JestPreferLowercaseTitle>;
|
|
2489
2489
|
/**
|
|
2490
2490
|
* Prefer mock resolved/rejected shorthands for promises
|
|
2491
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2491
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-mock-promise-shorthand.md
|
|
2492
2492
|
*/
|
|
2493
2493
|
'jest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Prefer mock return shorthands
|
|
2496
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2496
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-mock-return-shorthand.md
|
|
2497
2497
|
*/
|
|
2498
2498
|
'jest/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>;
|
|
2499
2499
|
/**
|
|
2500
2500
|
* Prefer including a hint with external snapshots
|
|
2501
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2501
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-snapshot-hint.md
|
|
2502
2502
|
*/
|
|
2503
2503
|
'jest/prefer-snapshot-hint'?: Linter.RuleEntry<JestPreferSnapshotHint>;
|
|
2504
2504
|
/**
|
|
2505
2505
|
* Suggest using `jest.spyOn()`
|
|
2506
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2506
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-spy-on.md
|
|
2507
2507
|
*/
|
|
2508
2508
|
'jest/prefer-spy-on'?: Linter.RuleEntry<[]>;
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Suggest using `toStrictEqual()`
|
|
2511
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2511
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-strict-equal.md
|
|
2512
2512
|
*/
|
|
2513
2513
|
'jest/prefer-strict-equal'?: Linter.RuleEntry<[]>;
|
|
2514
2514
|
/**
|
|
2515
2515
|
* Suggest using `toBe()` for primitive literals
|
|
2516
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2516
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-to-be.md
|
|
2517
2517
|
*/
|
|
2518
2518
|
'jest/prefer-to-be'?: Linter.RuleEntry<[]>;
|
|
2519
2519
|
/**
|
|
2520
2520
|
* Suggest using `toContain()`
|
|
2521
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2521
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-to-contain.md
|
|
2522
2522
|
*/
|
|
2523
2523
|
'jest/prefer-to-contain'?: Linter.RuleEntry<[]>;
|
|
2524
2524
|
/**
|
|
2525
2525
|
* Suggest using `toHaveBeenCalled`
|
|
2526
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2526
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-to-have-been-called.md
|
|
2527
2527
|
*/
|
|
2528
2528
|
'jest/prefer-to-have-been-called'?: Linter.RuleEntry<[]>;
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Suggest using `toHaveBeenCalledTimes()`
|
|
2531
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2531
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-to-have-been-called-times.md
|
|
2532
2532
|
*/
|
|
2533
2533
|
'jest/prefer-to-have-been-called-times'?: Linter.RuleEntry<[]>;
|
|
2534
2534
|
/**
|
|
2535
2535
|
* Suggest using `toHaveLength()`
|
|
2536
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2536
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-to-have-length.md
|
|
2537
2537
|
*/
|
|
2538
2538
|
'jest/prefer-to-have-length'?: Linter.RuleEntry<[]>;
|
|
2539
2539
|
/**
|
|
2540
2540
|
* Suggest using `test.todo`
|
|
2541
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2541
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/prefer-todo.md
|
|
2542
2542
|
*/
|
|
2543
2543
|
'jest/prefer-todo'?: Linter.RuleEntry<[]>;
|
|
2544
2544
|
/**
|
|
2545
2545
|
* Require setup and teardown code to be within a hook
|
|
2546
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2546
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/require-hook.md
|
|
2547
2547
|
*/
|
|
2548
2548
|
'jest/require-hook'?: Linter.RuleEntry<JestRequireHook>;
|
|
2549
2549
|
/**
|
|
2550
2550
|
* Require a message for `toThrow()`
|
|
2551
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2551
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/require-to-throw-message.md
|
|
2552
2552
|
*/
|
|
2553
2553
|
'jest/require-to-throw-message'?: Linter.RuleEntry<[]>;
|
|
2554
2554
|
/**
|
|
2555
2555
|
* Require test cases and hooks to be inside a `describe` block
|
|
2556
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2556
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/require-top-level-describe.md
|
|
2557
2557
|
*/
|
|
2558
2558
|
'jest/require-top-level-describe'?: Linter.RuleEntry<JestRequireTopLevelDescribe>;
|
|
2559
2559
|
/**
|
|
2560
2560
|
* Enforce unbound methods are called with their expected scope
|
|
2561
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2561
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/unbound-method.md
|
|
2562
2562
|
*/
|
|
2563
2563
|
'jest/unbound-method'?: Linter.RuleEntry<JestUnboundMethod>;
|
|
2564
2564
|
/**
|
|
2565
2565
|
* Enforce valid `describe()` callback
|
|
2566
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2566
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/valid-describe-callback.md
|
|
2567
2567
|
*/
|
|
2568
2568
|
'jest/valid-describe-callback'?: Linter.RuleEntry<[]>;
|
|
2569
2569
|
/**
|
|
2570
2570
|
* Enforce valid `expect()` usage
|
|
2571
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2571
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/valid-expect.md
|
|
2572
2572
|
*/
|
|
2573
2573
|
'jest/valid-expect'?: Linter.RuleEntry<JestValidExpect>;
|
|
2574
2574
|
/**
|
|
2575
2575
|
* Require promises that have expectations in their chain to be valid
|
|
2576
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2576
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/valid-expect-in-promise.md
|
|
2577
2577
|
*/
|
|
2578
2578
|
'jest/valid-expect-in-promise'?: Linter.RuleEntry<[]>;
|
|
2579
2579
|
/**
|
|
2580
2580
|
* Require that `resolve` and `reject` modifiers are present (and only) for promise-like types
|
|
2581
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2581
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/valid-expect-with-promise.md
|
|
2582
2582
|
*/
|
|
2583
2583
|
'jest/valid-expect-with-promise'?: Linter.RuleEntry<[]>;
|
|
2584
2584
|
/**
|
|
2585
2585
|
* Disallow mocking of non-existing module paths
|
|
2586
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2586
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/valid-mock-module-path.md
|
|
2587
2587
|
*/
|
|
2588
2588
|
'jest/valid-mock-module-path'?: Linter.RuleEntry<JestValidMockModulePath>;
|
|
2589
2589
|
/**
|
|
2590
2590
|
* Enforce valid titles
|
|
2591
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2591
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.0/docs/rules/valid-title.md
|
|
2592
2592
|
*/
|
|
2593
2593
|
'jest/valid-title'?: Linter.RuleEntry<JestValidTitle>;
|
|
2594
2594
|
/**
|
|
@@ -3432,6 +3432,11 @@ interface RuleOptions {
|
|
|
3432
3432
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
|
|
3433
3433
|
*/
|
|
3434
3434
|
'n/prefer-global/console'?: Linter.RuleEntry<NPreferGlobalConsole>;
|
|
3435
|
+
/**
|
|
3436
|
+
* enforce either `crypto` or `require("crypto").webcrypto`
|
|
3437
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
|
|
3438
|
+
*/
|
|
3439
|
+
'n/prefer-global/crypto'?: Linter.RuleEntry<NPreferGlobalCrypto>;
|
|
3435
3440
|
/**
|
|
3436
3441
|
* enforce either `process` or `require("process")`
|
|
3437
3442
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
|
|
@@ -3447,6 +3452,11 @@ interface RuleOptions {
|
|
|
3447
3452
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
|
|
3448
3453
|
*/
|
|
3449
3454
|
'n/prefer-global/text-encoder'?: Linter.RuleEntry<NPreferGlobalTextEncoder>;
|
|
3455
|
+
/**
|
|
3456
|
+
* enforce either global timer functions or `require("timers")`
|
|
3457
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
|
|
3458
|
+
*/
|
|
3459
|
+
'n/prefer-global/timers'?: Linter.RuleEntry<NPreferGlobalTimers>;
|
|
3450
3460
|
/**
|
|
3451
3461
|
* enforce either `URL` or `require("url").URL`
|
|
3452
3462
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
|
|
@@ -5091,6 +5101,11 @@ interface RuleOptions {
|
|
|
5091
5101
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
|
|
5092
5102
|
*/
|
|
5093
5103
|
'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>;
|
|
5104
|
+
/**
|
|
5105
|
+
* Enforces identifier names assigned from 'useId' calls to be either 'id' or end with 'Id'.
|
|
5106
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-id-name
|
|
5107
|
+
*/
|
|
5108
|
+
'react-naming-convention/id-name'?: Linter.RuleEntry<[]>;
|
|
5094
5109
|
/**
|
|
5095
5110
|
* Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
|
|
5096
5111
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
|
|
@@ -5128,7 +5143,7 @@ interface RuleOptions {
|
|
|
5128
5143
|
*/
|
|
5129
5144
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
5130
5145
|
/**
|
|
5131
|
-
* Prevents
|
|
5146
|
+
* Prevents unintentional '$' sign before expression.
|
|
5132
5147
|
* @see https://eslint-react.xyz/docs/rules/jsx-dollar
|
|
5133
5148
|
*/
|
|
5134
5149
|
'react-x/jsx-dollar'?: Linter.RuleEntry<[]>;
|
|
@@ -10083,6 +10098,9 @@ type JestMaxExpects = [] | [{
|
|
|
10083
10098
|
}]; // ----- jest/max-nested-describe -----
|
|
10084
10099
|
type JestMaxNestedDescribe = [] | [{
|
|
10085
10100
|
max?: number;
|
|
10101
|
+
}]; // ----- jest/no-conditional-in-test -----
|
|
10102
|
+
type JestNoConditionalInTest = [] | [{
|
|
10103
|
+
allowOptionalChaining?: boolean;
|
|
10086
10104
|
}]; // ----- jest/no-hooks -----
|
|
10087
10105
|
type JestNoHooks = [] | [{
|
|
10088
10106
|
allow?: unknown[];
|
|
@@ -11503,10 +11521,12 @@ type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
|
11503
11521
|
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
11504
11522
|
}]; // ----- n/prefer-global/buffer -----
|
|
11505
11523
|
type NPreferGlobalBuffer = [] | [("always" | "never")]; // ----- n/prefer-global/console -----
|
|
11506
|
-
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/
|
|
11524
|
+
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/crypto -----
|
|
11525
|
+
type NPreferGlobalCrypto = [] | [("always" | "never")]; // ----- n/prefer-global/process -----
|
|
11507
11526
|
type NPreferGlobalProcess = [] | [("always" | "never")]; // ----- n/prefer-global/text-decoder -----
|
|
11508
11527
|
type NPreferGlobalTextDecoder = [] | [("always" | "never")]; // ----- n/prefer-global/text-encoder -----
|
|
11509
|
-
type NPreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- n/prefer-global/
|
|
11528
|
+
type NPreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- n/prefer-global/timers -----
|
|
11529
|
+
type NPreferGlobalTimers = [] | [("always" | "never")]; // ----- n/prefer-global/url -----
|
|
11510
11530
|
type NPreferGlobalUrl = [] | [("always" | "never")]; // ----- n/prefer-global/url-search-params -----
|
|
11511
11531
|
type NPreferGlobalUrlSearchParams = [] | [("always" | "never")]; // ----- n/prefer-node-protocol -----
|
|
11512
11532
|
type NPreferNodeProtocol = [] | [{
|
package/dist/index.mjs
CHANGED
|
@@ -242,7 +242,15 @@ const nodeRules = {
|
|
|
242
242
|
"n/no-path-concat": "error",
|
|
243
243
|
"n/no-process-exit": "off",
|
|
244
244
|
"n/no-top-level-await": ["error", { ignoreBin: true }],
|
|
245
|
+
"n/prefer-global/buffer": ["error", "always"],
|
|
245
246
|
"n/prefer-global/console": ["error", "always"],
|
|
247
|
+
"n/prefer-global/crypto": ["error", "never"],
|
|
248
|
+
"n/prefer-global/process": ["error", "always"],
|
|
249
|
+
"n/prefer-global/text-decoder": ["error", "never"],
|
|
250
|
+
"n/prefer-global/text-encoder": ["error", "never"],
|
|
251
|
+
"n/prefer-global/timers": ["error", "always"],
|
|
252
|
+
"n/prefer-global/url": ["error", "always"],
|
|
253
|
+
"n/prefer-global/url-search-params": ["error", "always"],
|
|
246
254
|
"n/prefer-node-protocol": "error",
|
|
247
255
|
"n/process-exit-as-throw": "error"
|
|
248
256
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jimmy.codes/eslint-config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "A simple, modern ESLint config that covers most use cases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -45,41 +45,41 @@
|
|
|
45
45
|
"@stylistic/eslint-plugin": "^5.8.0",
|
|
46
46
|
"@tanstack/eslint-plugin-query": "^5.91.4",
|
|
47
47
|
"@types/eslint": "9.6.1",
|
|
48
|
-
"@typescript-eslint/parser": "^8.
|
|
49
|
-
"@typescript-eslint/utils": "^8.
|
|
50
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
51
|
-
"astro-eslint-parser": "^1.
|
|
48
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
49
|
+
"@typescript-eslint/utils": "^8.56.0",
|
|
50
|
+
"@vitest/eslint-plugin": "^1.6.9",
|
|
51
|
+
"astro-eslint-parser": "^1.3.0",
|
|
52
52
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
53
53
|
"eslint-config-prettier": "^10.1.8",
|
|
54
54
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
55
55
|
"eslint-plugin-arrow-return-style-x": "^1.2.6",
|
|
56
|
-
"eslint-plugin-astro": "^1.
|
|
56
|
+
"eslint-plugin-astro": "^1.6.0",
|
|
57
57
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
58
58
|
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
59
59
|
"eslint-plugin-import-x": "^4.16.1",
|
|
60
|
-
"eslint-plugin-jest": "^29.
|
|
60
|
+
"eslint-plugin-jest": "^29.15.0",
|
|
61
61
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
62
|
-
"eslint-plugin-jsdoc": "^62.5.
|
|
62
|
+
"eslint-plugin-jsdoc": "^62.5.5",
|
|
63
63
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
64
|
-
"eslint-plugin-n": "^17.
|
|
64
|
+
"eslint-plugin-n": "^17.24.0",
|
|
65
65
|
"eslint-plugin-perfectionist": "^5.5.0",
|
|
66
66
|
"eslint-plugin-playwright": "^2.5.1",
|
|
67
67
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
68
|
-
"eslint-plugin-react-dom": "^2.
|
|
68
|
+
"eslint-plugin-react-dom": "^2.13.0",
|
|
69
69
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
70
|
-
"eslint-plugin-react-hooks-extra": "^2.
|
|
71
|
-
"eslint-plugin-react-naming-convention": "^2.
|
|
70
|
+
"eslint-plugin-react-hooks-extra": "^2.13.0",
|
|
71
|
+
"eslint-plugin-react-naming-convention": "^2.13.0",
|
|
72
72
|
"eslint-plugin-react-refresh": "0.5.0",
|
|
73
|
-
"eslint-plugin-react-rsc": "^2.
|
|
74
|
-
"eslint-plugin-react-web-api": "^2.
|
|
75
|
-
"eslint-plugin-react-x": "^2.
|
|
73
|
+
"eslint-plugin-react-rsc": "^2.13.0",
|
|
74
|
+
"eslint-plugin-react-web-api": "^2.13.0",
|
|
75
|
+
"eslint-plugin-react-x": "^2.13.0",
|
|
76
76
|
"eslint-plugin-regexp": "^3.0.0",
|
|
77
77
|
"eslint-plugin-storybook": "0.12.0",
|
|
78
78
|
"eslint-plugin-testing-library": "^7.15.4",
|
|
79
79
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
80
80
|
"globals": "^17.3.0",
|
|
81
81
|
"local-pkg": "^1.1.2",
|
|
82
|
-
"typescript-eslint": "^8.
|
|
82
|
+
"typescript-eslint": "^8.56.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"eslint": ">=9.38.0"
|