@jimmy.codes/eslint-config 6.28.0 → 6.29.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
CHANGED
|
@@ -2228,337 +2228,357 @@ interface RuleOptions {
|
|
|
2228
2228
|
'jest-dom/prefer-to-have-value'?: Linter.RuleEntry<[]>;
|
|
2229
2229
|
/**
|
|
2230
2230
|
* Enforce `test` and `it` usage conventions
|
|
2231
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2231
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/consistent-test-it.md
|
|
2232
2232
|
*/
|
|
2233
2233
|
'jest/consistent-test-it'?: Linter.RuleEntry<JestConsistentTestIt>;
|
|
2234
2234
|
/**
|
|
2235
2235
|
* Enforce assertion to be made in a test body
|
|
2236
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2236
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/expect-expect.md
|
|
2237
2237
|
*/
|
|
2238
2238
|
'jest/expect-expect'?: Linter.RuleEntry<JestExpectExpect>;
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Enforces a maximum number assertion calls in a test body
|
|
2241
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2241
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/max-expects.md
|
|
2242
2242
|
*/
|
|
2243
2243
|
'jest/max-expects'?: Linter.RuleEntry<JestMaxExpects>;
|
|
2244
2244
|
/**
|
|
2245
2245
|
* Enforces a maximum depth to nested describe calls
|
|
2246
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2246
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/max-nested-describe.md
|
|
2247
2247
|
*/
|
|
2248
2248
|
'jest/max-nested-describe'?: Linter.RuleEntry<JestMaxNestedDescribe>;
|
|
2249
2249
|
/**
|
|
2250
2250
|
* Disallow alias methods
|
|
2251
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2251
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-alias-methods.md
|
|
2252
2252
|
*/
|
|
2253
2253
|
'jest/no-alias-methods'?: Linter.RuleEntry<[]>;
|
|
2254
2254
|
/**
|
|
2255
2255
|
* Disallow commented out tests
|
|
2256
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2256
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-commented-out-tests.md
|
|
2257
2257
|
*/
|
|
2258
2258
|
'jest/no-commented-out-tests'?: Linter.RuleEntry<[]>;
|
|
2259
2259
|
/**
|
|
2260
2260
|
* Disallow calling `expect` conditionally
|
|
2261
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2261
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-conditional-expect.md
|
|
2262
2262
|
*/
|
|
2263
2263
|
'jest/no-conditional-expect'?: Linter.RuleEntry<[]>;
|
|
2264
2264
|
/**
|
|
2265
2265
|
* Disallow conditional logic in 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.11.0/docs/rules/no-conditional-in-test.md
|
|
2267
2267
|
*/
|
|
2268
2268
|
'jest/no-conditional-in-test'?: Linter.RuleEntry<[]>;
|
|
2269
2269
|
/**
|
|
2270
2270
|
* Disallow confusing usages of jest.setTimeout
|
|
2271
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2271
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-confusing-set-timeout.md
|
|
2272
2272
|
*/
|
|
2273
2273
|
'jest/no-confusing-set-timeout'?: Linter.RuleEntry<[]>;
|
|
2274
2274
|
/**
|
|
2275
2275
|
* Disallow use of deprecated functions
|
|
2276
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2276
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-deprecated-functions.md
|
|
2277
2277
|
*/
|
|
2278
2278
|
'jest/no-deprecated-functions'?: Linter.RuleEntry<[]>;
|
|
2279
2279
|
/**
|
|
2280
2280
|
* Disallow disabled tests
|
|
2281
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2281
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-disabled-tests.md
|
|
2282
2282
|
*/
|
|
2283
2283
|
'jest/no-disabled-tests'?: Linter.RuleEntry<[]>;
|
|
2284
2284
|
/**
|
|
2285
2285
|
* Disallow using a callback in asynchronous tests and hooks
|
|
2286
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2286
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-done-callback.md
|
|
2287
2287
|
*/
|
|
2288
2288
|
'jest/no-done-callback'?: Linter.RuleEntry<[]>;
|
|
2289
2289
|
/**
|
|
2290
2290
|
* Disallow duplicate setup and teardown hooks
|
|
2291
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2291
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-duplicate-hooks.md
|
|
2292
2292
|
*/
|
|
2293
2293
|
'jest/no-duplicate-hooks'?: Linter.RuleEntry<[]>;
|
|
2294
|
+
/**
|
|
2295
|
+
* Disallow using equality matchers on error types
|
|
2296
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-error-equal.md
|
|
2297
|
+
*/
|
|
2298
|
+
'jest/no-error-equal'?: Linter.RuleEntry<[]>;
|
|
2294
2299
|
/**
|
|
2295
2300
|
* Disallow using `exports` in files containing tests
|
|
2296
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2301
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-export.md
|
|
2297
2302
|
*/
|
|
2298
2303
|
'jest/no-export'?: Linter.RuleEntry<[]>;
|
|
2299
2304
|
/**
|
|
2300
2305
|
* Disallow focused tests
|
|
2301
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2306
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-focused-tests.md
|
|
2302
2307
|
*/
|
|
2303
2308
|
'jest/no-focused-tests'?: Linter.RuleEntry<[]>;
|
|
2304
2309
|
/**
|
|
2305
2310
|
* Disallow setup and teardown hooks
|
|
2306
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2311
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-hooks.md
|
|
2307
2312
|
*/
|
|
2308
2313
|
'jest/no-hooks'?: Linter.RuleEntry<JestNoHooks>;
|
|
2309
2314
|
/**
|
|
2310
2315
|
* Disallow identical titles
|
|
2311
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2316
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-identical-title.md
|
|
2312
2317
|
*/
|
|
2313
2318
|
'jest/no-identical-title'?: Linter.RuleEntry<[]>;
|
|
2314
2319
|
/**
|
|
2315
2320
|
* Disallow string interpolation inside snapshots
|
|
2316
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2321
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-interpolation-in-snapshots.md
|
|
2317
2322
|
*/
|
|
2318
2323
|
'jest/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>;
|
|
2319
2324
|
/**
|
|
2320
2325
|
* Disallow Jasmine globals
|
|
2321
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2326
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-jasmine-globals.md
|
|
2322
2327
|
*/
|
|
2323
2328
|
'jest/no-jasmine-globals'?: Linter.RuleEntry<[]>;
|
|
2324
2329
|
/**
|
|
2325
2330
|
* Disallow large snapshots
|
|
2326
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2331
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-large-snapshots.md
|
|
2327
2332
|
*/
|
|
2328
2333
|
'jest/no-large-snapshots'?: Linter.RuleEntry<JestNoLargeSnapshots>;
|
|
2329
2334
|
/**
|
|
2330
2335
|
* Disallow manually importing from `__mocks__`
|
|
2331
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2336
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-mocks-import.md
|
|
2332
2337
|
*/
|
|
2333
2338
|
'jest/no-mocks-import'?: Linter.RuleEntry<[]>;
|
|
2334
2339
|
/**
|
|
2335
2340
|
* Disallow specific `jest.` methods
|
|
2336
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2341
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-restricted-jest-methods.md
|
|
2337
2342
|
*/
|
|
2338
2343
|
'jest/no-restricted-jest-methods'?: Linter.RuleEntry<JestNoRestrictedJestMethods>;
|
|
2339
2344
|
/**
|
|
2340
2345
|
* Disallow specific matchers & modifiers
|
|
2341
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2346
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-restricted-matchers.md
|
|
2342
2347
|
*/
|
|
2343
2348
|
'jest/no-restricted-matchers'?: Linter.RuleEntry<JestNoRestrictedMatchers>;
|
|
2344
2349
|
/**
|
|
2345
2350
|
* Disallow using `expect` outside of `it` or `test` blocks
|
|
2346
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2351
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-standalone-expect.md
|
|
2347
2352
|
*/
|
|
2348
2353
|
'jest/no-standalone-expect'?: Linter.RuleEntry<JestNoStandaloneExpect>;
|
|
2349
2354
|
/**
|
|
2350
2355
|
* Require using `.only` and `.skip` over `f` and `x`
|
|
2351
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2356
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-test-prefixes.md
|
|
2352
2357
|
*/
|
|
2353
2358
|
'jest/no-test-prefixes'?: Linter.RuleEntry<[]>;
|
|
2354
2359
|
/**
|
|
2355
2360
|
* Disallow explicitly returning from tests
|
|
2356
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2361
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-test-return-statement.md
|
|
2357
2362
|
*/
|
|
2358
2363
|
'jest/no-test-return-statement'?: Linter.RuleEntry<[]>;
|
|
2364
|
+
/**
|
|
2365
|
+
* Disallow unnecessary assertions based on types
|
|
2366
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-unnecessary-assertion.md
|
|
2367
|
+
*/
|
|
2368
|
+
'jest/no-unnecessary-assertion'?: Linter.RuleEntry<[]>;
|
|
2359
2369
|
/**
|
|
2360
2370
|
* Disallow unnecessary async function wrapper for expected promises
|
|
2361
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2371
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-unneeded-async-expect-function.md
|
|
2362
2372
|
*/
|
|
2363
2373
|
'jest/no-unneeded-async-expect-function'?: Linter.RuleEntry<[]>;
|
|
2364
2374
|
/**
|
|
2365
2375
|
* Disallow using `jest.mock()` factories without an explicit type parameter
|
|
2366
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2376
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/no-untyped-mock-factory.md
|
|
2367
2377
|
*/
|
|
2368
2378
|
'jest/no-untyped-mock-factory'?: Linter.RuleEntry<[]>;
|
|
2369
2379
|
/**
|
|
2370
2380
|
* Enforce padding around `afterAll` blocks
|
|
2371
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2381
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-after-all-blocks.md
|
|
2372
2382
|
*/
|
|
2373
2383
|
'jest/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>;
|
|
2374
2384
|
/**
|
|
2375
2385
|
* Enforce padding around `afterEach` blocks
|
|
2376
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2386
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-after-each-blocks.md
|
|
2377
2387
|
*/
|
|
2378
2388
|
'jest/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>;
|
|
2379
2389
|
/**
|
|
2380
2390
|
* Enforce padding around Jest functions
|
|
2381
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2391
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-all.md
|
|
2382
2392
|
*/
|
|
2383
2393
|
'jest/padding-around-all'?: Linter.RuleEntry<[]>;
|
|
2384
2394
|
/**
|
|
2385
2395
|
* Enforce padding around `beforeAll` blocks
|
|
2386
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2396
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-before-all-blocks.md
|
|
2387
2397
|
*/
|
|
2388
2398
|
'jest/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>;
|
|
2389
2399
|
/**
|
|
2390
2400
|
* Enforce padding around `beforeEach` blocks
|
|
2391
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2401
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-before-each-blocks.md
|
|
2392
2402
|
*/
|
|
2393
2403
|
'jest/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>;
|
|
2394
2404
|
/**
|
|
2395
2405
|
* Enforce padding around `describe` blocks
|
|
2396
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2406
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-describe-blocks.md
|
|
2397
2407
|
*/
|
|
2398
2408
|
'jest/padding-around-describe-blocks'?: Linter.RuleEntry<[]>;
|
|
2399
2409
|
/**
|
|
2400
2410
|
* Enforce padding around `expect` groups
|
|
2401
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2411
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-expect-groups.md
|
|
2402
2412
|
*/
|
|
2403
2413
|
'jest/padding-around-expect-groups'?: Linter.RuleEntry<[]>;
|
|
2404
2414
|
/**
|
|
2405
2415
|
* Enforce padding around `test` and `it` blocks
|
|
2406
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2416
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/padding-around-test-blocks.md
|
|
2407
2417
|
*/
|
|
2408
2418
|
'jest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
2409
2419
|
/**
|
|
2410
2420
|
* Suggest using `toHaveBeenCalledWith()`
|
|
2411
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2421
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-called-with.md
|
|
2412
2422
|
*/
|
|
2413
2423
|
'jest/prefer-called-with'?: Linter.RuleEntry<[]>;
|
|
2414
2424
|
/**
|
|
2415
2425
|
* Suggest using the built-in comparison matchers
|
|
2416
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2426
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-comparison-matcher.md
|
|
2417
2427
|
*/
|
|
2418
2428
|
'jest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>;
|
|
2419
2429
|
/**
|
|
2420
2430
|
* Prefer using `.each` rather than manual loops
|
|
2421
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2431
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-each.md
|
|
2422
2432
|
*/
|
|
2423
2433
|
'jest/prefer-each'?: Linter.RuleEntry<[]>;
|
|
2424
2434
|
/**
|
|
2425
2435
|
* Prefer having the last statement in a test be an assertion
|
|
2426
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2436
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-ending-with-an-expect.md
|
|
2427
2437
|
*/
|
|
2428
2438
|
'jest/prefer-ending-with-an-expect'?: Linter.RuleEntry<JestPreferEndingWithAnExpect>;
|
|
2429
2439
|
/**
|
|
2430
2440
|
* Suggest using the built-in equality matchers
|
|
2431
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2441
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-equality-matcher.md
|
|
2432
2442
|
*/
|
|
2433
2443
|
'jest/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
|
|
2434
2444
|
/**
|
|
2435
2445
|
* Suggest using `expect.assertions()` OR `expect.hasAssertions()`
|
|
2436
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2446
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-expect-assertions.md
|
|
2437
2447
|
*/
|
|
2438
2448
|
'jest/prefer-expect-assertions'?: Linter.RuleEntry<JestPreferExpectAssertions>;
|
|
2439
2449
|
/**
|
|
2440
2450
|
* Prefer `await expect(...).resolves` over `expect(await ...)` syntax
|
|
2441
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2451
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-expect-resolves.md
|
|
2442
2452
|
*/
|
|
2443
2453
|
'jest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
2444
2454
|
/**
|
|
2445
2455
|
* Prefer having hooks in a consistent order
|
|
2446
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2456
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-hooks-in-order.md
|
|
2447
2457
|
*/
|
|
2448
2458
|
'jest/prefer-hooks-in-order'?: Linter.RuleEntry<[]>;
|
|
2449
2459
|
/**
|
|
2450
2460
|
* Suggest having hooks before any test cases
|
|
2451
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2461
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-hooks-on-top.md
|
|
2452
2462
|
*/
|
|
2453
2463
|
'jest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
2454
2464
|
/**
|
|
2455
2465
|
* Prefer importing Jest globals
|
|
2456
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2466
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-importing-jest-globals.md
|
|
2457
2467
|
*/
|
|
2458
2468
|
'jest/prefer-importing-jest-globals'?: Linter.RuleEntry<JestPreferImportingJestGlobals>;
|
|
2459
2469
|
/**
|
|
2460
2470
|
* Prefer `jest.mocked()` over `fn as jest.Mock`
|
|
2461
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2471
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-jest-mocked.md
|
|
2462
2472
|
*/
|
|
2463
2473
|
'jest/prefer-jest-mocked'?: Linter.RuleEntry<[]>;
|
|
2464
2474
|
/**
|
|
2465
2475
|
* Enforce lowercase test names
|
|
2466
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2476
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-lowercase-title.md
|
|
2467
2477
|
*/
|
|
2468
2478
|
'jest/prefer-lowercase-title'?: Linter.RuleEntry<JestPreferLowercaseTitle>;
|
|
2469
2479
|
/**
|
|
2470
2480
|
* Prefer mock resolved/rejected shorthands for promises
|
|
2471
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2481
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-mock-promise-shorthand.md
|
|
2472
2482
|
*/
|
|
2473
2483
|
'jest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
|
|
2484
|
+
/**
|
|
2485
|
+
* Prefer mock return shorthands
|
|
2486
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-mock-return-shorthand.md
|
|
2487
|
+
*/
|
|
2488
|
+
'jest/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>;
|
|
2474
2489
|
/**
|
|
2475
2490
|
* Prefer including a hint with external snapshots
|
|
2476
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2491
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-snapshot-hint.md
|
|
2477
2492
|
*/
|
|
2478
2493
|
'jest/prefer-snapshot-hint'?: Linter.RuleEntry<JestPreferSnapshotHint>;
|
|
2479
2494
|
/**
|
|
2480
2495
|
* Suggest using `jest.spyOn()`
|
|
2481
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2496
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-spy-on.md
|
|
2482
2497
|
*/
|
|
2483
2498
|
'jest/prefer-spy-on'?: Linter.RuleEntry<[]>;
|
|
2484
2499
|
/**
|
|
2485
2500
|
* Suggest using `toStrictEqual()`
|
|
2486
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2501
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-strict-equal.md
|
|
2487
2502
|
*/
|
|
2488
2503
|
'jest/prefer-strict-equal'?: Linter.RuleEntry<[]>;
|
|
2489
2504
|
/**
|
|
2490
2505
|
* Suggest using `toBe()` for primitive literals
|
|
2491
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2506
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-to-be.md
|
|
2492
2507
|
*/
|
|
2493
2508
|
'jest/prefer-to-be'?: Linter.RuleEntry<[]>;
|
|
2494
2509
|
/**
|
|
2495
2510
|
* Suggest using `toContain()`
|
|
2496
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2511
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-to-contain.md
|
|
2497
2512
|
*/
|
|
2498
2513
|
'jest/prefer-to-contain'?: Linter.RuleEntry<[]>;
|
|
2499
2514
|
/**
|
|
2500
2515
|
* Suggest using `toHaveBeenCalled`
|
|
2501
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2516
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-to-have-been-called.md
|
|
2502
2517
|
*/
|
|
2503
2518
|
'jest/prefer-to-have-been-called'?: Linter.RuleEntry<[]>;
|
|
2504
2519
|
/**
|
|
2505
2520
|
* Suggest using `toHaveBeenCalledTimes()`
|
|
2506
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2521
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-to-have-been-called-times.md
|
|
2507
2522
|
*/
|
|
2508
2523
|
'jest/prefer-to-have-been-called-times'?: Linter.RuleEntry<[]>;
|
|
2509
2524
|
/**
|
|
2510
2525
|
* Suggest using `toHaveLength()`
|
|
2511
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2526
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-to-have-length.md
|
|
2512
2527
|
*/
|
|
2513
2528
|
'jest/prefer-to-have-length'?: Linter.RuleEntry<[]>;
|
|
2514
2529
|
/**
|
|
2515
2530
|
* Suggest using `test.todo`
|
|
2516
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2531
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/prefer-todo.md
|
|
2517
2532
|
*/
|
|
2518
2533
|
'jest/prefer-todo'?: Linter.RuleEntry<[]>;
|
|
2519
2534
|
/**
|
|
2520
2535
|
* Require setup and teardown code to be within a hook
|
|
2521
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2536
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/require-hook.md
|
|
2522
2537
|
*/
|
|
2523
2538
|
'jest/require-hook'?: Linter.RuleEntry<JestRequireHook>;
|
|
2524
2539
|
/**
|
|
2525
2540
|
* Require a message for `toThrow()`
|
|
2526
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2541
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/require-to-throw-message.md
|
|
2527
2542
|
*/
|
|
2528
2543
|
'jest/require-to-throw-message'?: Linter.RuleEntry<[]>;
|
|
2529
2544
|
/**
|
|
2530
2545
|
* Require test cases and hooks to be inside a `describe` block
|
|
2531
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2546
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/require-top-level-describe.md
|
|
2532
2547
|
*/
|
|
2533
2548
|
'jest/require-top-level-describe'?: Linter.RuleEntry<JestRequireTopLevelDescribe>;
|
|
2534
2549
|
/**
|
|
2535
2550
|
* Enforce unbound methods are called with their expected scope
|
|
2536
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2551
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/unbound-method.md
|
|
2537
2552
|
*/
|
|
2538
2553
|
'jest/unbound-method'?: Linter.RuleEntry<JestUnboundMethod>;
|
|
2539
2554
|
/**
|
|
2540
2555
|
* Enforce valid `describe()` callback
|
|
2541
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2556
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/valid-describe-callback.md
|
|
2542
2557
|
*/
|
|
2543
2558
|
'jest/valid-describe-callback'?: Linter.RuleEntry<[]>;
|
|
2544
2559
|
/**
|
|
2545
2560
|
* Enforce valid `expect()` usage
|
|
2546
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2561
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/valid-expect.md
|
|
2547
2562
|
*/
|
|
2548
2563
|
'jest/valid-expect'?: Linter.RuleEntry<JestValidExpect>;
|
|
2549
2564
|
/**
|
|
2550
2565
|
* Require promises that have expectations in their chain to be valid
|
|
2551
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2566
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/valid-expect-in-promise.md
|
|
2552
2567
|
*/
|
|
2553
2568
|
'jest/valid-expect-in-promise'?: Linter.RuleEntry<[]>;
|
|
2569
|
+
/**
|
|
2570
|
+
* Require that `resolve` and `reject` modifiers are present (and only) for promise-like types
|
|
2571
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/valid-expect-with-promise.md
|
|
2572
|
+
*/
|
|
2573
|
+
'jest/valid-expect-with-promise'?: Linter.RuleEntry<[]>;
|
|
2554
2574
|
/**
|
|
2555
2575
|
* Disallow mocking of non-existing module paths
|
|
2556
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2576
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/valid-mock-module-path.md
|
|
2557
2577
|
*/
|
|
2558
2578
|
'jest/valid-mock-module-path'?: Linter.RuleEntry<JestValidMockModulePath>;
|
|
2559
2579
|
/**
|
|
2560
2580
|
* Enforce valid titles
|
|
2561
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
2581
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.11.0/docs/rules/valid-title.md
|
|
2562
2582
|
*/
|
|
2563
2583
|
'jest/valid-title'?: Linter.RuleEntry<JestValidTitle>;
|
|
2564
2584
|
/**
|
|
@@ -5054,7 +5074,7 @@ interface RuleOptions {
|
|
|
5054
5074
|
* Enforces destructuring and symmetric naming of `useState` hook value and setter.
|
|
5055
5075
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
5056
5076
|
*/
|
|
5057
|
-
'react-naming-convention/use-state'?: Linter.RuleEntry<
|
|
5077
|
+
'react-naming-convention/use-state'?: Linter.RuleEntry<ReactNamingConventionUseState>;
|
|
5058
5078
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
|
|
5059
5079
|
/**
|
|
5060
5080
|
* Prevents leaked `addEventListener` in a component or custom Hook.
|
|
@@ -7148,7 +7168,7 @@ interface RuleOptions {
|
|
|
7148
7168
|
* prefer dynamic import in mock
|
|
7149
7169
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
7150
7170
|
*/
|
|
7151
|
-
'vitest/prefer-import-in-mock'?: Linter.RuleEntry<
|
|
7171
|
+
'vitest/prefer-import-in-mock'?: Linter.RuleEntry<VitestPreferImportInMock>;
|
|
7152
7172
|
/**
|
|
7153
7173
|
* enforce importing Vitest globals
|
|
7154
7174
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -7164,6 +7184,11 @@ interface RuleOptions {
|
|
|
7164
7184
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
|
|
7165
7185
|
*/
|
|
7166
7186
|
'vitest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
|
|
7187
|
+
/**
|
|
7188
|
+
* Prefer mock return shorthands
|
|
7189
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-return-shorthand.md
|
|
7190
|
+
*/
|
|
7191
|
+
'vitest/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>;
|
|
7167
7192
|
/**
|
|
7168
7193
|
* enforce including a hint with external snapshots
|
|
7169
7194
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
|
|
@@ -7209,6 +7234,11 @@ interface RuleOptions {
|
|
|
7209
7234
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
|
|
7210
7235
|
*/
|
|
7211
7236
|
'vitest/prefer-to-contain'?: Linter.RuleEntry<[]>;
|
|
7237
|
+
/**
|
|
7238
|
+
* Suggest using `toHaveBeenCalledTimes()`
|
|
7239
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-been-called-times.md
|
|
7240
|
+
*/
|
|
7241
|
+
'vitest/prefer-to-have-been-called-times'?: Linter.RuleEntry<[]>;
|
|
7212
7242
|
/**
|
|
7213
7243
|
* enforce using toHaveLength()
|
|
7214
7244
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
|
|
@@ -7234,11 +7264,6 @@ interface RuleOptions {
|
|
|
7234
7264
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
7235
7265
|
*/
|
|
7236
7266
|
'vitest/require-hook'?: Linter.RuleEntry<VitestRequireHook>;
|
|
7237
|
-
/**
|
|
7238
|
-
* require usage of import in vi.mock()
|
|
7239
|
-
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-import-vi-mock.md
|
|
7240
|
-
*/
|
|
7241
|
-
'vitest/require-import-vi-mock'?: Linter.RuleEntry<[]>;
|
|
7242
7267
|
/**
|
|
7243
7268
|
* require local Test Context for concurrent snapshot tests
|
|
7244
7269
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
@@ -12406,7 +12431,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12406
12431
|
};
|
|
12407
12432
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12408
12433
|
groupName: string;
|
|
12409
|
-
newlinesInside?: number;
|
|
12434
|
+
newlinesInside?: ("ignore" | number);
|
|
12410
12435
|
order?: ("asc" | "desc");
|
|
12411
12436
|
anyOf: {
|
|
12412
12437
|
elementNamePattern?: (({
|
|
@@ -12425,7 +12450,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12425
12450
|
};
|
|
12426
12451
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12427
12452
|
groupName: string;
|
|
12428
|
-
newlinesInside?: number;
|
|
12453
|
+
newlinesInside?: ("ignore" | number);
|
|
12429
12454
|
order?: ("asc" | "desc");
|
|
12430
12455
|
elementNamePattern?: (({
|
|
12431
12456
|
pattern: string;
|
|
@@ -12436,13 +12461,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12436
12461
|
} | string));
|
|
12437
12462
|
selector?: ("literal" | "spread");
|
|
12438
12463
|
})[];
|
|
12464
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12439
12465
|
groups?: (string | [string, ...(string)[]] | {
|
|
12440
12466
|
newlinesBetween: ("ignore" | number);
|
|
12441
12467
|
} | {
|
|
12442
12468
|
group: (string | [string, ...(string)[]]);
|
|
12443
12469
|
commentAbove?: string;
|
|
12444
12470
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12445
|
-
newlinesInside?: number;
|
|
12471
|
+
newlinesInside?: ("ignore" | number);
|
|
12446
12472
|
order?: ("asc" | "desc");
|
|
12447
12473
|
})[];
|
|
12448
12474
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -12498,7 +12524,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
12498
12524
|
};
|
|
12499
12525
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12500
12526
|
groupName: string;
|
|
12501
|
-
newlinesInside?: number;
|
|
12527
|
+
newlinesInside?: ("ignore" | number);
|
|
12502
12528
|
order?: ("asc" | "desc");
|
|
12503
12529
|
anyOf: {
|
|
12504
12530
|
elementNamePattern?: (({
|
|
@@ -12532,7 +12558,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
12532
12558
|
};
|
|
12533
12559
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12534
12560
|
groupName: string;
|
|
12535
|
-
newlinesInside?: number;
|
|
12561
|
+
newlinesInside?: ("ignore" | number);
|
|
12536
12562
|
order?: ("asc" | "desc");
|
|
12537
12563
|
elementNamePattern?: (({
|
|
12538
12564
|
pattern: string;
|
|
@@ -12558,13 +12584,14 @@ type PerfectionistSortClasses = [] | [{
|
|
|
12558
12584
|
flags?: string;
|
|
12559
12585
|
} | string));
|
|
12560
12586
|
})[];
|
|
12587
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12561
12588
|
groups?: (string | [string, ...(string)[]] | {
|
|
12562
12589
|
newlinesBetween: ("ignore" | number);
|
|
12563
12590
|
} | {
|
|
12564
12591
|
group: (string | [string, ...(string)[]]);
|
|
12565
12592
|
commentAbove?: string;
|
|
12566
12593
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12567
|
-
newlinesInside?: number;
|
|
12594
|
+
newlinesInside?: ("ignore" | number);
|
|
12568
12595
|
order?: ("asc" | "desc");
|
|
12569
12596
|
})[];
|
|
12570
12597
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -12618,7 +12645,7 @@ type PerfectionistSortDecorators = {
|
|
|
12618
12645
|
};
|
|
12619
12646
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12620
12647
|
groupName: string;
|
|
12621
|
-
newlinesInside?: number;
|
|
12648
|
+
newlinesInside?: ("ignore" | number);
|
|
12622
12649
|
order?: ("asc" | "desc");
|
|
12623
12650
|
anyOf: {
|
|
12624
12651
|
elementNamePattern?: (({
|
|
@@ -12636,7 +12663,7 @@ type PerfectionistSortDecorators = {
|
|
|
12636
12663
|
};
|
|
12637
12664
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12638
12665
|
groupName: string;
|
|
12639
|
-
newlinesInside?: number;
|
|
12666
|
+
newlinesInside?: ("ignore" | number);
|
|
12640
12667
|
order?: ("asc" | "desc");
|
|
12641
12668
|
elementNamePattern?: (({
|
|
12642
12669
|
pattern: string;
|
|
@@ -12646,13 +12673,14 @@ type PerfectionistSortDecorators = {
|
|
|
12646
12673
|
flags?: string;
|
|
12647
12674
|
} | string));
|
|
12648
12675
|
})[];
|
|
12676
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12649
12677
|
groups?: (string | [string, ...(string)[]] | {
|
|
12650
12678
|
newlinesBetween: ("ignore" | number);
|
|
12651
12679
|
} | {
|
|
12652
12680
|
group: (string | [string, ...(string)[]]);
|
|
12653
12681
|
commentAbove?: string;
|
|
12654
12682
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12655
|
-
newlinesInside?: number;
|
|
12683
|
+
newlinesInside?: ("ignore" | number);
|
|
12656
12684
|
order?: ("asc" | "desc");
|
|
12657
12685
|
})[];
|
|
12658
12686
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -12704,7 +12732,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
12704
12732
|
};
|
|
12705
12733
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12706
12734
|
groupName: string;
|
|
12707
|
-
newlinesInside?: number;
|
|
12735
|
+
newlinesInside?: ("ignore" | number);
|
|
12708
12736
|
order?: ("asc" | "desc");
|
|
12709
12737
|
anyOf: {
|
|
12710
12738
|
elementNamePattern?: (({
|
|
@@ -12729,7 +12757,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
12729
12757
|
};
|
|
12730
12758
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12731
12759
|
groupName: string;
|
|
12732
|
-
newlinesInside?: number;
|
|
12760
|
+
newlinesInside?: ("ignore" | number);
|
|
12733
12761
|
order?: ("asc" | "desc");
|
|
12734
12762
|
elementNamePattern?: (({
|
|
12735
12763
|
pattern: string;
|
|
@@ -12746,13 +12774,14 @@ type PerfectionistSortEnums = [] | [{
|
|
|
12746
12774
|
flags?: string;
|
|
12747
12775
|
} | string));
|
|
12748
12776
|
})[];
|
|
12777
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12749
12778
|
groups?: (string | [string, ...(string)[]] | {
|
|
12750
12779
|
newlinesBetween: ("ignore" | number);
|
|
12751
12780
|
} | {
|
|
12752
12781
|
group: (string | [string, ...(string)[]]);
|
|
12753
12782
|
commentAbove?: string;
|
|
12754
12783
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12755
|
-
newlinesInside?: number;
|
|
12784
|
+
newlinesInside?: ("ignore" | number);
|
|
12756
12785
|
order?: ("asc" | "desc");
|
|
12757
12786
|
})[];
|
|
12758
12787
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -12800,7 +12829,7 @@ type PerfectionistSortExportAttributes = {
|
|
|
12800
12829
|
};
|
|
12801
12830
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12802
12831
|
groupName: string;
|
|
12803
|
-
newlinesInside?: number;
|
|
12832
|
+
newlinesInside?: ("ignore" | number);
|
|
12804
12833
|
order?: ("asc" | "desc");
|
|
12805
12834
|
anyOf: {
|
|
12806
12835
|
elementNamePattern?: (({
|
|
@@ -12818,7 +12847,7 @@ type PerfectionistSortExportAttributes = {
|
|
|
12818
12847
|
};
|
|
12819
12848
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12820
12849
|
groupName: string;
|
|
12821
|
-
newlinesInside?: number;
|
|
12850
|
+
newlinesInside?: ("ignore" | number);
|
|
12822
12851
|
order?: ("asc" | "desc");
|
|
12823
12852
|
elementNamePattern?: (({
|
|
12824
12853
|
pattern: string;
|
|
@@ -12828,13 +12857,14 @@ type PerfectionistSortExportAttributes = {
|
|
|
12828
12857
|
flags?: string;
|
|
12829
12858
|
} | string));
|
|
12830
12859
|
})[];
|
|
12860
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12831
12861
|
groups?: (string | [string, ...(string)[]] | {
|
|
12832
12862
|
newlinesBetween: ("ignore" | number);
|
|
12833
12863
|
} | {
|
|
12834
12864
|
group: (string | [string, ...(string)[]]);
|
|
12835
12865
|
commentAbove?: string;
|
|
12836
12866
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12837
|
-
newlinesInside?: number;
|
|
12867
|
+
newlinesInside?: ("ignore" | number);
|
|
12838
12868
|
order?: ("asc" | "desc");
|
|
12839
12869
|
})[];
|
|
12840
12870
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -12881,7 +12911,7 @@ type PerfectionistSortExports = {
|
|
|
12881
12911
|
};
|
|
12882
12912
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12883
12913
|
groupName: string;
|
|
12884
|
-
newlinesInside?: number;
|
|
12914
|
+
newlinesInside?: ("ignore" | number);
|
|
12885
12915
|
order?: ("asc" | "desc");
|
|
12886
12916
|
anyOf: {
|
|
12887
12917
|
elementNamePattern?: (({
|
|
@@ -12901,7 +12931,7 @@ type PerfectionistSortExports = {
|
|
|
12901
12931
|
};
|
|
12902
12932
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12903
12933
|
groupName: string;
|
|
12904
|
-
newlinesInside?: number;
|
|
12934
|
+
newlinesInside?: ("ignore" | number);
|
|
12905
12935
|
order?: ("asc" | "desc");
|
|
12906
12936
|
elementNamePattern?: (({
|
|
12907
12937
|
pattern: string;
|
|
@@ -12913,13 +12943,14 @@ type PerfectionistSortExports = {
|
|
|
12913
12943
|
modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
|
|
12914
12944
|
selector?: "export";
|
|
12915
12945
|
})[];
|
|
12946
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12916
12947
|
groups?: (string | [string, ...(string)[]] | {
|
|
12917
12948
|
newlinesBetween: ("ignore" | number);
|
|
12918
12949
|
} | {
|
|
12919
12950
|
group: (string | [string, ...(string)[]]);
|
|
12920
12951
|
commentAbove?: string;
|
|
12921
12952
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12922
|
-
newlinesInside?: number;
|
|
12953
|
+
newlinesInside?: ("ignore" | number);
|
|
12923
12954
|
order?: ("asc" | "desc");
|
|
12924
12955
|
})[];
|
|
12925
12956
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -12966,7 +12997,7 @@ type PerfectionistSortHeritageClauses = {
|
|
|
12966
12997
|
};
|
|
12967
12998
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12968
12999
|
groupName: string;
|
|
12969
|
-
newlinesInside?: number;
|
|
13000
|
+
newlinesInside?: ("ignore" | number);
|
|
12970
13001
|
order?: ("asc" | "desc");
|
|
12971
13002
|
anyOf: {
|
|
12972
13003
|
elementNamePattern?: (({
|
|
@@ -12984,7 +13015,7 @@ type PerfectionistSortHeritageClauses = {
|
|
|
12984
13015
|
};
|
|
12985
13016
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12986
13017
|
groupName: string;
|
|
12987
|
-
newlinesInside?: number;
|
|
13018
|
+
newlinesInside?: ("ignore" | number);
|
|
12988
13019
|
order?: ("asc" | "desc");
|
|
12989
13020
|
elementNamePattern?: (({
|
|
12990
13021
|
pattern: string;
|
|
@@ -12994,13 +13025,14 @@ type PerfectionistSortHeritageClauses = {
|
|
|
12994
13025
|
flags?: string;
|
|
12995
13026
|
} | string));
|
|
12996
13027
|
})[];
|
|
13028
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12997
13029
|
groups?: (string | [string, ...(string)[]] | {
|
|
12998
13030
|
newlinesBetween: ("ignore" | number);
|
|
12999
13031
|
} | {
|
|
13000
13032
|
group: (string | [string, ...(string)[]]);
|
|
13001
13033
|
commentAbove?: string;
|
|
13002
13034
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13003
|
-
newlinesInside?: number;
|
|
13035
|
+
newlinesInside?: ("ignore" | number);
|
|
13004
13036
|
order?: ("asc" | "desc");
|
|
13005
13037
|
})[];
|
|
13006
13038
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13047,7 +13079,7 @@ type PerfectionistSortImportAttributes = {
|
|
|
13047
13079
|
};
|
|
13048
13080
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13049
13081
|
groupName: string;
|
|
13050
|
-
newlinesInside?: number;
|
|
13082
|
+
newlinesInside?: ("ignore" | number);
|
|
13051
13083
|
order?: ("asc" | "desc");
|
|
13052
13084
|
anyOf: {
|
|
13053
13085
|
elementNamePattern?: (({
|
|
@@ -13065,7 +13097,7 @@ type PerfectionistSortImportAttributes = {
|
|
|
13065
13097
|
};
|
|
13066
13098
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13067
13099
|
groupName: string;
|
|
13068
|
-
newlinesInside?: number;
|
|
13100
|
+
newlinesInside?: ("ignore" | number);
|
|
13069
13101
|
order?: ("asc" | "desc");
|
|
13070
13102
|
elementNamePattern?: (({
|
|
13071
13103
|
pattern: string;
|
|
@@ -13075,13 +13107,14 @@ type PerfectionistSortImportAttributes = {
|
|
|
13075
13107
|
flags?: string;
|
|
13076
13108
|
} | string));
|
|
13077
13109
|
})[];
|
|
13110
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13078
13111
|
groups?: (string | [string, ...(string)[]] | {
|
|
13079
13112
|
newlinesBetween: ("ignore" | number);
|
|
13080
13113
|
} | {
|
|
13081
13114
|
group: (string | [string, ...(string)[]]);
|
|
13082
13115
|
commentAbove?: string;
|
|
13083
13116
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13084
|
-
newlinesInside?: number;
|
|
13117
|
+
newlinesInside?: ("ignore" | number);
|
|
13085
13118
|
order?: ("asc" | "desc");
|
|
13086
13119
|
})[];
|
|
13087
13120
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13128,7 +13161,7 @@ type PerfectionistSortImports = {
|
|
|
13128
13161
|
};
|
|
13129
13162
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
13130
13163
|
groupName: string;
|
|
13131
|
-
newlinesInside?: number;
|
|
13164
|
+
newlinesInside?: ("ignore" | number);
|
|
13132
13165
|
order?: ("asc" | "desc");
|
|
13133
13166
|
anyOf: {
|
|
13134
13167
|
elementNamePattern?: (({
|
|
@@ -13148,7 +13181,7 @@ type PerfectionistSortImports = {
|
|
|
13148
13181
|
};
|
|
13149
13182
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
13150
13183
|
groupName: string;
|
|
13151
|
-
newlinesInside?: number;
|
|
13184
|
+
newlinesInside?: ("ignore" | number);
|
|
13152
13185
|
order?: ("asc" | "desc");
|
|
13153
13186
|
elementNamePattern?: (({
|
|
13154
13187
|
pattern: string;
|
|
@@ -13160,13 +13193,14 @@ type PerfectionistSortImports = {
|
|
|
13160
13193
|
modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
|
|
13161
13194
|
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
|
|
13162
13195
|
})[];
|
|
13196
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13163
13197
|
groups?: (string | [string, ...(string)[]] | {
|
|
13164
13198
|
newlinesBetween: ("ignore" | number);
|
|
13165
13199
|
} | {
|
|
13166
13200
|
group: (string | [string, ...(string)[]]);
|
|
13167
13201
|
commentAbove?: string;
|
|
13168
13202
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
13169
|
-
newlinesInside?: number;
|
|
13203
|
+
newlinesInside?: ("ignore" | number);
|
|
13170
13204
|
order?: ("asc" | "desc");
|
|
13171
13205
|
})[];
|
|
13172
13206
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13229,7 +13263,7 @@ type PerfectionistSortInterfaces = {
|
|
|
13229
13263
|
};
|
|
13230
13264
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13231
13265
|
groupName: string;
|
|
13232
|
-
newlinesInside?: number;
|
|
13266
|
+
newlinesInside?: ("ignore" | number);
|
|
13233
13267
|
order?: ("asc" | "desc");
|
|
13234
13268
|
anyOf: {
|
|
13235
13269
|
elementNamePattern?: (({
|
|
@@ -13258,7 +13292,7 @@ type PerfectionistSortInterfaces = {
|
|
|
13258
13292
|
};
|
|
13259
13293
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13260
13294
|
groupName: string;
|
|
13261
|
-
newlinesInside?: number;
|
|
13295
|
+
newlinesInside?: ("ignore" | number);
|
|
13262
13296
|
order?: ("asc" | "desc");
|
|
13263
13297
|
elementNamePattern?: (({
|
|
13264
13298
|
pattern: string;
|
|
@@ -13278,13 +13312,14 @@ type PerfectionistSortInterfaces = {
|
|
|
13278
13312
|
} | string));
|
|
13279
13313
|
sortBy?: ("name" | "value");
|
|
13280
13314
|
})[];
|
|
13315
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13281
13316
|
groups?: (string | [string, ...(string)[]] | {
|
|
13282
13317
|
newlinesBetween: ("ignore" | number);
|
|
13283
13318
|
} | {
|
|
13284
13319
|
group: (string | [string, ...(string)[]]);
|
|
13285
13320
|
commentAbove?: string;
|
|
13286
13321
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13287
|
-
newlinesInside?: number;
|
|
13322
|
+
newlinesInside?: ("ignore" | number);
|
|
13288
13323
|
order?: ("asc" | "desc");
|
|
13289
13324
|
})[];
|
|
13290
13325
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13360,7 +13395,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
13360
13395
|
};
|
|
13361
13396
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13362
13397
|
groupName: string;
|
|
13363
|
-
newlinesInside?: number;
|
|
13398
|
+
newlinesInside?: ("ignore" | number);
|
|
13364
13399
|
order?: ("asc" | "desc");
|
|
13365
13400
|
anyOf: {
|
|
13366
13401
|
elementNamePattern?: (({
|
|
@@ -13379,7 +13414,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
13379
13414
|
};
|
|
13380
13415
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13381
13416
|
groupName: string;
|
|
13382
|
-
newlinesInside?: number;
|
|
13417
|
+
newlinesInside?: ("ignore" | number);
|
|
13383
13418
|
order?: ("asc" | "desc");
|
|
13384
13419
|
elementNamePattern?: (({
|
|
13385
13420
|
pattern: string;
|
|
@@ -13390,13 +13425,14 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
13390
13425
|
} | string));
|
|
13391
13426
|
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
13392
13427
|
})[];
|
|
13428
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13393
13429
|
groups?: (string | [string, ...(string)[]] | {
|
|
13394
13430
|
newlinesBetween: ("ignore" | number);
|
|
13395
13431
|
} | {
|
|
13396
13432
|
group: (string | [string, ...(string)[]]);
|
|
13397
13433
|
commentAbove?: string;
|
|
13398
13434
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13399
|
-
newlinesInside?: number;
|
|
13435
|
+
newlinesInside?: ("ignore" | number);
|
|
13400
13436
|
order?: ("asc" | "desc");
|
|
13401
13437
|
})[];
|
|
13402
13438
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13443,7 +13479,7 @@ type PerfectionistSortJsxProps = {
|
|
|
13443
13479
|
};
|
|
13444
13480
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13445
13481
|
groupName: string;
|
|
13446
|
-
newlinesInside?: number;
|
|
13482
|
+
newlinesInside?: ("ignore" | number);
|
|
13447
13483
|
order?: ("asc" | "desc");
|
|
13448
13484
|
anyOf: {
|
|
13449
13485
|
elementNamePattern?: (({
|
|
@@ -13470,7 +13506,7 @@ type PerfectionistSortJsxProps = {
|
|
|
13470
13506
|
};
|
|
13471
13507
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13472
13508
|
groupName: string;
|
|
13473
|
-
newlinesInside?: number;
|
|
13509
|
+
newlinesInside?: ("ignore" | number);
|
|
13474
13510
|
order?: ("asc" | "desc");
|
|
13475
13511
|
elementNamePattern?: (({
|
|
13476
13512
|
pattern: string;
|
|
@@ -13489,13 +13525,14 @@ type PerfectionistSortJsxProps = {
|
|
|
13489
13525
|
flags?: string;
|
|
13490
13526
|
} | string));
|
|
13491
13527
|
})[];
|
|
13528
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13492
13529
|
groups?: (string | [string, ...(string)[]] | {
|
|
13493
13530
|
newlinesBetween: ("ignore" | number);
|
|
13494
13531
|
} | {
|
|
13495
13532
|
group: (string | [string, ...(string)[]]);
|
|
13496
13533
|
commentAbove?: string;
|
|
13497
13534
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13498
|
-
newlinesInside?: number;
|
|
13535
|
+
newlinesInside?: ("ignore" | number);
|
|
13499
13536
|
order?: ("asc" | "desc");
|
|
13500
13537
|
})[];
|
|
13501
13538
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13536,7 +13573,7 @@ type PerfectionistSortMaps = {
|
|
|
13536
13573
|
};
|
|
13537
13574
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13538
13575
|
groupName: string;
|
|
13539
|
-
newlinesInside?: number;
|
|
13576
|
+
newlinesInside?: ("ignore" | number);
|
|
13540
13577
|
order?: ("asc" | "desc");
|
|
13541
13578
|
anyOf: {
|
|
13542
13579
|
elementNamePattern?: (({
|
|
@@ -13554,7 +13591,7 @@ type PerfectionistSortMaps = {
|
|
|
13554
13591
|
};
|
|
13555
13592
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13556
13593
|
groupName: string;
|
|
13557
|
-
newlinesInside?: number;
|
|
13594
|
+
newlinesInside?: ("ignore" | number);
|
|
13558
13595
|
order?: ("asc" | "desc");
|
|
13559
13596
|
elementNamePattern?: (({
|
|
13560
13597
|
pattern: string;
|
|
@@ -13564,13 +13601,14 @@ type PerfectionistSortMaps = {
|
|
|
13564
13601
|
flags?: string;
|
|
13565
13602
|
} | string));
|
|
13566
13603
|
})[];
|
|
13604
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13567
13605
|
groups?: (string | [string, ...(string)[]] | {
|
|
13568
13606
|
newlinesBetween: ("ignore" | number);
|
|
13569
13607
|
} | {
|
|
13570
13608
|
group: (string | [string, ...(string)[]]);
|
|
13571
13609
|
commentAbove?: string;
|
|
13572
13610
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13573
|
-
newlinesInside?: number;
|
|
13611
|
+
newlinesInside?: ("ignore" | number);
|
|
13574
13612
|
order?: ("asc" | "desc");
|
|
13575
13613
|
})[];
|
|
13576
13614
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13626,7 +13664,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
13626
13664
|
};
|
|
13627
13665
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13628
13666
|
groupName: string;
|
|
13629
|
-
newlinesInside?: number;
|
|
13667
|
+
newlinesInside?: ("ignore" | number);
|
|
13630
13668
|
order?: ("asc" | "desc");
|
|
13631
13669
|
anyOf: {
|
|
13632
13670
|
elementNamePattern?: (({
|
|
@@ -13653,7 +13691,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
13653
13691
|
};
|
|
13654
13692
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13655
13693
|
groupName: string;
|
|
13656
|
-
newlinesInside?: number;
|
|
13694
|
+
newlinesInside?: ("ignore" | number);
|
|
13657
13695
|
order?: ("asc" | "desc");
|
|
13658
13696
|
elementNamePattern?: (({
|
|
13659
13697
|
pattern: string;
|
|
@@ -13672,13 +13710,14 @@ type PerfectionistSortModules = [] | [{
|
|
|
13672
13710
|
flags?: string;
|
|
13673
13711
|
} | string));
|
|
13674
13712
|
})[];
|
|
13713
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13675
13714
|
groups?: (string | [string, ...(string)[]] | {
|
|
13676
13715
|
newlinesBetween: ("ignore" | number);
|
|
13677
13716
|
} | {
|
|
13678
13717
|
group: (string | [string, ...(string)[]]);
|
|
13679
13718
|
commentAbove?: string;
|
|
13680
13719
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13681
|
-
newlinesInside?: number;
|
|
13720
|
+
newlinesInside?: ("ignore" | number);
|
|
13682
13721
|
order?: ("asc" | "desc");
|
|
13683
13722
|
})[];
|
|
13684
13723
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13725,7 +13764,7 @@ type PerfectionistSortNamedExports = {
|
|
|
13725
13764
|
};
|
|
13726
13765
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13727
13766
|
groupName: string;
|
|
13728
|
-
newlinesInside?: number;
|
|
13767
|
+
newlinesInside?: ("ignore" | number);
|
|
13729
13768
|
order?: ("asc" | "desc");
|
|
13730
13769
|
anyOf: {
|
|
13731
13770
|
elementNamePattern?: (({
|
|
@@ -13745,7 +13784,7 @@ type PerfectionistSortNamedExports = {
|
|
|
13745
13784
|
};
|
|
13746
13785
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13747
13786
|
groupName: string;
|
|
13748
|
-
newlinesInside?: number;
|
|
13787
|
+
newlinesInside?: ("ignore" | number);
|
|
13749
13788
|
order?: ("asc" | "desc");
|
|
13750
13789
|
elementNamePattern?: (({
|
|
13751
13790
|
pattern: string;
|
|
@@ -13757,13 +13796,14 @@ type PerfectionistSortNamedExports = {
|
|
|
13757
13796
|
modifiers?: ("value" | "type")[];
|
|
13758
13797
|
selector?: "export";
|
|
13759
13798
|
})[];
|
|
13799
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13760
13800
|
groups?: (string | [string, ...(string)[]] | {
|
|
13761
13801
|
newlinesBetween: ("ignore" | number);
|
|
13762
13802
|
} | {
|
|
13763
13803
|
group: (string | [string, ...(string)[]]);
|
|
13764
13804
|
commentAbove?: string;
|
|
13765
13805
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13766
|
-
newlinesInside?: number;
|
|
13806
|
+
newlinesInside?: ("ignore" | number);
|
|
13767
13807
|
order?: ("asc" | "desc");
|
|
13768
13808
|
})[];
|
|
13769
13809
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13811,7 +13851,7 @@ type PerfectionistSortNamedImports = {
|
|
|
13811
13851
|
};
|
|
13812
13852
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13813
13853
|
groupName: string;
|
|
13814
|
-
newlinesInside?: number;
|
|
13854
|
+
newlinesInside?: ("ignore" | number);
|
|
13815
13855
|
order?: ("asc" | "desc");
|
|
13816
13856
|
anyOf: {
|
|
13817
13857
|
elementNamePattern?: (({
|
|
@@ -13831,7 +13871,7 @@ type PerfectionistSortNamedImports = {
|
|
|
13831
13871
|
};
|
|
13832
13872
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13833
13873
|
groupName: string;
|
|
13834
|
-
newlinesInside?: number;
|
|
13874
|
+
newlinesInside?: ("ignore" | number);
|
|
13835
13875
|
order?: ("asc" | "desc");
|
|
13836
13876
|
elementNamePattern?: (({
|
|
13837
13877
|
pattern: string;
|
|
@@ -13843,13 +13883,14 @@ type PerfectionistSortNamedImports = {
|
|
|
13843
13883
|
modifiers?: ("value" | "type")[];
|
|
13844
13884
|
selector?: "import";
|
|
13845
13885
|
})[];
|
|
13886
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13846
13887
|
groups?: (string | [string, ...(string)[]] | {
|
|
13847
13888
|
newlinesBetween: ("ignore" | number);
|
|
13848
13889
|
} | {
|
|
13849
13890
|
group: (string | [string, ...(string)[]]);
|
|
13850
13891
|
commentAbove?: string;
|
|
13851
13892
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13852
|
-
newlinesInside?: number;
|
|
13893
|
+
newlinesInside?: ("ignore" | number);
|
|
13853
13894
|
order?: ("asc" | "desc");
|
|
13854
13895
|
})[];
|
|
13855
13896
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -13899,7 +13940,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
13899
13940
|
};
|
|
13900
13941
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13901
13942
|
groupName: string;
|
|
13902
|
-
newlinesInside?: number;
|
|
13943
|
+
newlinesInside?: ("ignore" | number);
|
|
13903
13944
|
order?: ("asc" | "desc");
|
|
13904
13945
|
anyOf: {
|
|
13905
13946
|
elementNamePattern?: (({
|
|
@@ -13928,7 +13969,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
13928
13969
|
};
|
|
13929
13970
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13930
13971
|
groupName: string;
|
|
13931
|
-
newlinesInside?: number;
|
|
13972
|
+
newlinesInside?: ("ignore" | number);
|
|
13932
13973
|
order?: ("asc" | "desc");
|
|
13933
13974
|
elementNamePattern?: (({
|
|
13934
13975
|
pattern: string;
|
|
@@ -13948,13 +13989,14 @@ type PerfectionistSortObjectTypes = {
|
|
|
13948
13989
|
} | string));
|
|
13949
13990
|
sortBy?: ("name" | "value");
|
|
13950
13991
|
})[];
|
|
13992
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13951
13993
|
groups?: (string | [string, ...(string)[]] | {
|
|
13952
13994
|
newlinesBetween: ("ignore" | number);
|
|
13953
13995
|
} | {
|
|
13954
13996
|
group: (string | [string, ...(string)[]]);
|
|
13955
13997
|
commentAbove?: string;
|
|
13956
13998
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
13957
|
-
newlinesInside?: number;
|
|
13999
|
+
newlinesInside?: ("ignore" | number);
|
|
13958
14000
|
order?: ("asc" | "desc");
|
|
13959
14001
|
})[];
|
|
13960
14002
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -14030,7 +14072,7 @@ type PerfectionistSortObjects = {
|
|
|
14030
14072
|
};
|
|
14031
14073
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14032
14074
|
groupName: string;
|
|
14033
|
-
newlinesInside?: number;
|
|
14075
|
+
newlinesInside?: ("ignore" | number);
|
|
14034
14076
|
order?: ("asc" | "desc");
|
|
14035
14077
|
anyOf: {
|
|
14036
14078
|
elementNamePattern?: (({
|
|
@@ -14057,7 +14099,7 @@ type PerfectionistSortObjects = {
|
|
|
14057
14099
|
};
|
|
14058
14100
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14059
14101
|
groupName: string;
|
|
14060
|
-
newlinesInside?: number;
|
|
14102
|
+
newlinesInside?: ("ignore" | number);
|
|
14061
14103
|
order?: ("asc" | "desc");
|
|
14062
14104
|
elementNamePattern?: (({
|
|
14063
14105
|
pattern: string;
|
|
@@ -14076,13 +14118,14 @@ type PerfectionistSortObjects = {
|
|
|
14076
14118
|
flags?: string;
|
|
14077
14119
|
} | string));
|
|
14078
14120
|
})[];
|
|
14121
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
14079
14122
|
groups?: (string | [string, ...(string)[]] | {
|
|
14080
14123
|
newlinesBetween: ("ignore" | number);
|
|
14081
14124
|
} | {
|
|
14082
14125
|
group: (string | [string, ...(string)[]]);
|
|
14083
14126
|
commentAbove?: string;
|
|
14084
14127
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14085
|
-
newlinesInside?: number;
|
|
14128
|
+
newlinesInside?: ("ignore" | number);
|
|
14086
14129
|
order?: ("asc" | "desc");
|
|
14087
14130
|
})[];
|
|
14088
14131
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -14168,7 +14211,7 @@ type PerfectionistSortSets = {
|
|
|
14168
14211
|
};
|
|
14169
14212
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14170
14213
|
groupName: string;
|
|
14171
|
-
newlinesInside?: number;
|
|
14214
|
+
newlinesInside?: ("ignore" | number);
|
|
14172
14215
|
order?: ("asc" | "desc");
|
|
14173
14216
|
anyOf: {
|
|
14174
14217
|
elementNamePattern?: (({
|
|
@@ -14187,7 +14230,7 @@ type PerfectionistSortSets = {
|
|
|
14187
14230
|
};
|
|
14188
14231
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14189
14232
|
groupName: string;
|
|
14190
|
-
newlinesInside?: number;
|
|
14233
|
+
newlinesInside?: ("ignore" | number);
|
|
14191
14234
|
order?: ("asc" | "desc");
|
|
14192
14235
|
elementNamePattern?: (({
|
|
14193
14236
|
pattern: string;
|
|
@@ -14198,13 +14241,14 @@ type PerfectionistSortSets = {
|
|
|
14198
14241
|
} | string));
|
|
14199
14242
|
selector?: ("literal" | "spread");
|
|
14200
14243
|
})[];
|
|
14244
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
14201
14245
|
groups?: (string | [string, ...(string)[]] | {
|
|
14202
14246
|
newlinesBetween: ("ignore" | number);
|
|
14203
14247
|
} | {
|
|
14204
14248
|
group: (string | [string, ...(string)[]]);
|
|
14205
14249
|
commentAbove?: string;
|
|
14206
14250
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14207
|
-
newlinesInside?: number;
|
|
14251
|
+
newlinesInside?: ("ignore" | number);
|
|
14208
14252
|
order?: ("asc" | "desc");
|
|
14209
14253
|
})[];
|
|
14210
14254
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -14273,7 +14317,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
14273
14317
|
};
|
|
14274
14318
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14275
14319
|
groupName: string;
|
|
14276
|
-
newlinesInside?: number;
|
|
14320
|
+
newlinesInside?: ("ignore" | number);
|
|
14277
14321
|
order?: ("asc" | "desc");
|
|
14278
14322
|
anyOf: {
|
|
14279
14323
|
elementNamePattern?: (({
|
|
@@ -14292,7 +14336,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
14292
14336
|
};
|
|
14293
14337
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14294
14338
|
groupName: string;
|
|
14295
|
-
newlinesInside?: number;
|
|
14339
|
+
newlinesInside?: ("ignore" | number);
|
|
14296
14340
|
order?: ("asc" | "desc");
|
|
14297
14341
|
elementNamePattern?: (({
|
|
14298
14342
|
pattern: string;
|
|
@@ -14303,13 +14347,14 @@ type PerfectionistSortUnionTypes = {
|
|
|
14303
14347
|
} | string));
|
|
14304
14348
|
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
14305
14349
|
})[];
|
|
14350
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
14306
14351
|
groups?: (string | [string, ...(string)[]] | {
|
|
14307
14352
|
newlinesBetween: ("ignore" | number);
|
|
14308
14353
|
} | {
|
|
14309
14354
|
group: (string | [string, ...(string)[]]);
|
|
14310
14355
|
commentAbove?: string;
|
|
14311
14356
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14312
|
-
newlinesInside?: number;
|
|
14357
|
+
newlinesInside?: ("ignore" | number);
|
|
14313
14358
|
order?: ("asc" | "desc");
|
|
14314
14359
|
})[];
|
|
14315
14360
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -14356,7 +14401,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14356
14401
|
};
|
|
14357
14402
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14358
14403
|
groupName: string;
|
|
14359
|
-
newlinesInside?: number;
|
|
14404
|
+
newlinesInside?: ("ignore" | number);
|
|
14360
14405
|
order?: ("asc" | "desc");
|
|
14361
14406
|
anyOf: {
|
|
14362
14407
|
elementNamePattern?: (({
|
|
@@ -14375,7 +14420,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14375
14420
|
};
|
|
14376
14421
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14377
14422
|
groupName: string;
|
|
14378
|
-
newlinesInside?: number;
|
|
14423
|
+
newlinesInside?: ("ignore" | number);
|
|
14379
14424
|
order?: ("asc" | "desc");
|
|
14380
14425
|
elementNamePattern?: (({
|
|
14381
14426
|
pattern: string;
|
|
@@ -14386,13 +14431,14 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14386
14431
|
} | string));
|
|
14387
14432
|
selector?: ("initialized" | "uninitialized");
|
|
14388
14433
|
})[];
|
|
14434
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
14389
14435
|
groups?: (string | [string, ...(string)[]] | {
|
|
14390
14436
|
newlinesBetween: ("ignore" | number);
|
|
14391
14437
|
} | {
|
|
14392
14438
|
group: (string | [string, ...(string)[]]);
|
|
14393
14439
|
commentAbove?: string;
|
|
14394
14440
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14395
|
-
newlinesInside?: number;
|
|
14441
|
+
newlinesInside?: ("ignore" | number);
|
|
14396
14442
|
order?: ("asc" | "desc");
|
|
14397
14443
|
})[];
|
|
14398
14444
|
newlinesBetween?: ("ignore" | number);
|
|
@@ -14713,6 +14759,11 @@ type ReactNamingConventionFilenameExtension = [] | [(("always" | "as-needed") |
|
|
|
14713
14759
|
extensions?: string[];
|
|
14714
14760
|
ignoreFilesWithoutCode?: boolean;
|
|
14715
14761
|
})];
|
|
14762
|
+
// ----- react-naming-convention/use-state -----
|
|
14763
|
+
type ReactNamingConventionUseState = [] | [{
|
|
14764
|
+
enforceAssignment?: boolean;
|
|
14765
|
+
enforceSetterName?: boolean;
|
|
14766
|
+
}];
|
|
14716
14767
|
// ----- react-refresh/only-export-components -----
|
|
14717
14768
|
type ReactRefreshOnlyExportComponents = [] | [{
|
|
14718
14769
|
allowExportNames?: string[];
|
|
@@ -15332,6 +15383,10 @@ type VitestPreferExpectAssertions = [] | [{
|
|
|
15332
15383
|
onlyFunctionsWithExpectInLoop?: boolean;
|
|
15333
15384
|
onlyFunctionsWithExpectInCallback?: boolean;
|
|
15334
15385
|
}];
|
|
15386
|
+
// ----- vitest/prefer-import-in-mock -----
|
|
15387
|
+
type VitestPreferImportInMock = [] | [{
|
|
15388
|
+
fixable?: boolean;
|
|
15389
|
+
}];
|
|
15335
15390
|
// ----- vitest/prefer-lowercase-title -----
|
|
15336
15391
|
type VitestPreferLowercaseTitle = [] | [{
|
|
15337
15392
|
ignore?: ("describe" | "test" | "it")[];
|