@jimmy.codes/eslint-config 6.19.0 → 6.21.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
|
@@ -1112,6 +1112,11 @@ interface RuleOptions {
|
|
|
1112
1112
|
* @see https://typescript-eslint.io/rules/no-unused-expressions
|
|
1113
1113
|
*/
|
|
1114
1114
|
'@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Disallow unused private class members
|
|
1117
|
+
* @see https://typescript-eslint.io/rules/no-unused-private-class-members
|
|
1118
|
+
*/
|
|
1119
|
+
'@typescript-eslint/no-unused-private-class-members'?: Linter.RuleEntry<[]>;
|
|
1115
1120
|
/**
|
|
1116
1121
|
* Disallow unused variables
|
|
1117
1122
|
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
@@ -2188,317 +2193,322 @@ interface RuleOptions {
|
|
|
2188
2193
|
'jest-dom/prefer-to-have-value'?: Linter.RuleEntry<[]>;
|
|
2189
2194
|
/**
|
|
2190
2195
|
* Enforce `test` and `it` usage conventions
|
|
2191
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2196
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/consistent-test-it.md
|
|
2192
2197
|
*/
|
|
2193
2198
|
'jest/consistent-test-it'?: Linter.RuleEntry<JestConsistentTestIt>;
|
|
2194
2199
|
/**
|
|
2195
2200
|
* Enforce assertion to be made in a test body
|
|
2196
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2201
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/expect-expect.md
|
|
2197
2202
|
*/
|
|
2198
2203
|
'jest/expect-expect'?: Linter.RuleEntry<JestExpectExpect>;
|
|
2199
2204
|
/**
|
|
2200
2205
|
* Enforces a maximum number assertion calls in a test body
|
|
2201
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2206
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/max-expects.md
|
|
2202
2207
|
*/
|
|
2203
2208
|
'jest/max-expects'?: Linter.RuleEntry<JestMaxExpects>;
|
|
2204
2209
|
/**
|
|
2205
2210
|
* Enforces a maximum depth to nested describe calls
|
|
2206
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2211
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/max-nested-describe.md
|
|
2207
2212
|
*/
|
|
2208
2213
|
'jest/max-nested-describe'?: Linter.RuleEntry<JestMaxNestedDescribe>;
|
|
2209
2214
|
/**
|
|
2210
2215
|
* Disallow alias methods
|
|
2211
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2216
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-alias-methods.md
|
|
2212
2217
|
*/
|
|
2213
2218
|
'jest/no-alias-methods'?: Linter.RuleEntry<[]>;
|
|
2214
2219
|
/**
|
|
2215
2220
|
* Disallow commented out tests
|
|
2216
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2221
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-commented-out-tests.md
|
|
2217
2222
|
*/
|
|
2218
2223
|
'jest/no-commented-out-tests'?: Linter.RuleEntry<[]>;
|
|
2219
2224
|
/**
|
|
2220
2225
|
* Disallow calling `expect` conditionally
|
|
2221
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2226
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-conditional-expect.md
|
|
2222
2227
|
*/
|
|
2223
2228
|
'jest/no-conditional-expect'?: Linter.RuleEntry<[]>;
|
|
2224
2229
|
/**
|
|
2225
2230
|
* Disallow conditional logic in tests
|
|
2226
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2231
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-conditional-in-test.md
|
|
2227
2232
|
*/
|
|
2228
2233
|
'jest/no-conditional-in-test'?: Linter.RuleEntry<[]>;
|
|
2229
2234
|
/**
|
|
2230
2235
|
* Disallow confusing usages of jest.setTimeout
|
|
2231
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2236
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-confusing-set-timeout.md
|
|
2232
2237
|
*/
|
|
2233
2238
|
'jest/no-confusing-set-timeout'?: Linter.RuleEntry<[]>;
|
|
2234
2239
|
/**
|
|
2235
2240
|
* Disallow use of deprecated functions
|
|
2236
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2241
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-deprecated-functions.md
|
|
2237
2242
|
*/
|
|
2238
2243
|
'jest/no-deprecated-functions'?: Linter.RuleEntry<[]>;
|
|
2239
2244
|
/**
|
|
2240
2245
|
* Disallow disabled tests
|
|
2241
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2246
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-disabled-tests.md
|
|
2242
2247
|
*/
|
|
2243
2248
|
'jest/no-disabled-tests'?: Linter.RuleEntry<[]>;
|
|
2244
2249
|
/**
|
|
2245
2250
|
* Disallow using a callback in asynchronous tests and hooks
|
|
2246
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2251
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-done-callback.md
|
|
2247
2252
|
*/
|
|
2248
2253
|
'jest/no-done-callback'?: Linter.RuleEntry<[]>;
|
|
2249
2254
|
/**
|
|
2250
2255
|
* Disallow duplicate setup and teardown hooks
|
|
2251
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2256
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-duplicate-hooks.md
|
|
2252
2257
|
*/
|
|
2253
2258
|
'jest/no-duplicate-hooks'?: Linter.RuleEntry<[]>;
|
|
2254
2259
|
/**
|
|
2255
2260
|
* Disallow using `exports` in files containing tests
|
|
2256
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2261
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-export.md
|
|
2257
2262
|
*/
|
|
2258
2263
|
'jest/no-export'?: Linter.RuleEntry<[]>;
|
|
2259
2264
|
/**
|
|
2260
2265
|
* Disallow focused tests
|
|
2261
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2266
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-focused-tests.md
|
|
2262
2267
|
*/
|
|
2263
2268
|
'jest/no-focused-tests'?: Linter.RuleEntry<[]>;
|
|
2264
2269
|
/**
|
|
2265
2270
|
* Disallow setup and teardown hooks
|
|
2266
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2271
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-hooks.md
|
|
2267
2272
|
*/
|
|
2268
2273
|
'jest/no-hooks'?: Linter.RuleEntry<JestNoHooks>;
|
|
2269
2274
|
/**
|
|
2270
2275
|
* Disallow identical titles
|
|
2271
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2276
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-identical-title.md
|
|
2272
2277
|
*/
|
|
2273
2278
|
'jest/no-identical-title'?: Linter.RuleEntry<[]>;
|
|
2274
2279
|
/**
|
|
2275
2280
|
* Disallow string interpolation inside snapshots
|
|
2276
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2281
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-interpolation-in-snapshots.md
|
|
2277
2282
|
*/
|
|
2278
2283
|
'jest/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>;
|
|
2279
2284
|
/**
|
|
2280
2285
|
* Disallow Jasmine globals
|
|
2281
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2286
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-jasmine-globals.md
|
|
2282
2287
|
*/
|
|
2283
2288
|
'jest/no-jasmine-globals'?: Linter.RuleEntry<[]>;
|
|
2284
2289
|
/**
|
|
2285
2290
|
* Disallow large snapshots
|
|
2286
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2291
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-large-snapshots.md
|
|
2287
2292
|
*/
|
|
2288
2293
|
'jest/no-large-snapshots'?: Linter.RuleEntry<JestNoLargeSnapshots>;
|
|
2289
2294
|
/**
|
|
2290
2295
|
* Disallow manually importing from `__mocks__`
|
|
2291
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2296
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-mocks-import.md
|
|
2292
2297
|
*/
|
|
2293
2298
|
'jest/no-mocks-import'?: Linter.RuleEntry<[]>;
|
|
2294
2299
|
/**
|
|
2295
2300
|
* Disallow specific `jest.` methods
|
|
2296
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2301
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-restricted-jest-methods.md
|
|
2297
2302
|
*/
|
|
2298
2303
|
'jest/no-restricted-jest-methods'?: Linter.RuleEntry<JestNoRestrictedJestMethods>;
|
|
2299
2304
|
/**
|
|
2300
2305
|
* Disallow specific matchers & modifiers
|
|
2301
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2306
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-restricted-matchers.md
|
|
2302
2307
|
*/
|
|
2303
2308
|
'jest/no-restricted-matchers'?: Linter.RuleEntry<JestNoRestrictedMatchers>;
|
|
2304
2309
|
/**
|
|
2305
2310
|
* Disallow using `expect` outside of `it` or `test` blocks
|
|
2306
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2311
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-standalone-expect.md
|
|
2307
2312
|
*/
|
|
2308
2313
|
'jest/no-standalone-expect'?: Linter.RuleEntry<JestNoStandaloneExpect>;
|
|
2309
2314
|
/**
|
|
2310
2315
|
* Require using `.only` and `.skip` over `f` and `x`
|
|
2311
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2316
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-test-prefixes.md
|
|
2312
2317
|
*/
|
|
2313
2318
|
'jest/no-test-prefixes'?: Linter.RuleEntry<[]>;
|
|
2314
2319
|
/**
|
|
2315
2320
|
* Disallow explicitly returning from tests
|
|
2316
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2321
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-test-return-statement.md
|
|
2317
2322
|
*/
|
|
2318
2323
|
'jest/no-test-return-statement'?: Linter.RuleEntry<[]>;
|
|
2319
2324
|
/**
|
|
2320
2325
|
* Disallow using `jest.mock()` factories without an explicit type parameter
|
|
2321
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2326
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/no-untyped-mock-factory.md
|
|
2322
2327
|
*/
|
|
2323
2328
|
'jest/no-untyped-mock-factory'?: Linter.RuleEntry<[]>;
|
|
2324
2329
|
/**
|
|
2325
2330
|
* Enforce padding around `afterAll` blocks
|
|
2326
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2331
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-after-all-blocks.md
|
|
2327
2332
|
*/
|
|
2328
2333
|
'jest/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>;
|
|
2329
2334
|
/**
|
|
2330
2335
|
* Enforce padding around `afterEach` blocks
|
|
2331
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2336
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-after-each-blocks.md
|
|
2332
2337
|
*/
|
|
2333
2338
|
'jest/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>;
|
|
2334
2339
|
/**
|
|
2335
2340
|
* Enforce padding around Jest functions
|
|
2336
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2341
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-all.md
|
|
2337
2342
|
*/
|
|
2338
2343
|
'jest/padding-around-all'?: Linter.RuleEntry<[]>;
|
|
2339
2344
|
/**
|
|
2340
2345
|
* Enforce padding around `beforeAll` blocks
|
|
2341
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2346
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-before-all-blocks.md
|
|
2342
2347
|
*/
|
|
2343
2348
|
'jest/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>;
|
|
2344
2349
|
/**
|
|
2345
2350
|
* Enforce padding around `beforeEach` blocks
|
|
2346
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2351
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-before-each-blocks.md
|
|
2347
2352
|
*/
|
|
2348
2353
|
'jest/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>;
|
|
2349
2354
|
/**
|
|
2350
2355
|
* Enforce padding around `describe` blocks
|
|
2351
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2356
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-describe-blocks.md
|
|
2352
2357
|
*/
|
|
2353
2358
|
'jest/padding-around-describe-blocks'?: Linter.RuleEntry<[]>;
|
|
2354
2359
|
/**
|
|
2355
2360
|
* Enforce padding around `expect` groups
|
|
2356
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2361
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-expect-groups.md
|
|
2357
2362
|
*/
|
|
2358
2363
|
'jest/padding-around-expect-groups'?: Linter.RuleEntry<[]>;
|
|
2359
2364
|
/**
|
|
2360
2365
|
* Enforce padding around `test` and `it` blocks
|
|
2361
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2366
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/padding-around-test-blocks.md
|
|
2362
2367
|
*/
|
|
2363
2368
|
'jest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
2364
2369
|
/**
|
|
2365
2370
|
* Suggest using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
2366
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2371
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-called-with.md
|
|
2367
2372
|
*/
|
|
2368
2373
|
'jest/prefer-called-with'?: Linter.RuleEntry<[]>;
|
|
2369
2374
|
/**
|
|
2370
2375
|
* Suggest using the built-in comparison matchers
|
|
2371
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2376
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-comparison-matcher.md
|
|
2372
2377
|
*/
|
|
2373
2378
|
'jest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>;
|
|
2374
2379
|
/**
|
|
2375
2380
|
* Prefer using `.each` rather than manual loops
|
|
2376
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2381
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-each.md
|
|
2377
2382
|
*/
|
|
2378
2383
|
'jest/prefer-each'?: Linter.RuleEntry<[]>;
|
|
2379
2384
|
/**
|
|
2380
2385
|
* Prefer having the last statement in a test be an assertion
|
|
2381
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2386
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-ending-with-an-expect.md
|
|
2382
2387
|
*/
|
|
2383
2388
|
'jest/prefer-ending-with-an-expect'?: Linter.RuleEntry<JestPreferEndingWithAnExpect>;
|
|
2384
2389
|
/**
|
|
2385
2390
|
* Suggest using the built-in equality matchers
|
|
2386
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2391
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-equality-matcher.md
|
|
2387
2392
|
*/
|
|
2388
2393
|
'jest/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
|
|
2389
2394
|
/**
|
|
2390
2395
|
* Suggest using `expect.assertions()` OR `expect.hasAssertions()`
|
|
2391
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2396
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-expect-assertions.md
|
|
2392
2397
|
*/
|
|
2393
2398
|
'jest/prefer-expect-assertions'?: Linter.RuleEntry<JestPreferExpectAssertions>;
|
|
2394
2399
|
/**
|
|
2395
2400
|
* Prefer `await expect(...).resolves` over `expect(await ...)` syntax
|
|
2396
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2401
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-expect-resolves.md
|
|
2397
2402
|
*/
|
|
2398
2403
|
'jest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
2399
2404
|
/**
|
|
2400
2405
|
* Prefer having hooks in a consistent order
|
|
2401
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2406
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-hooks-in-order.md
|
|
2402
2407
|
*/
|
|
2403
2408
|
'jest/prefer-hooks-in-order'?: Linter.RuleEntry<[]>;
|
|
2404
2409
|
/**
|
|
2405
2410
|
* Suggest having hooks before any test cases
|
|
2406
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2411
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-hooks-on-top.md
|
|
2407
2412
|
*/
|
|
2408
2413
|
'jest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
2409
2414
|
/**
|
|
2410
2415
|
* Prefer importing Jest globals
|
|
2411
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2416
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-importing-jest-globals.md
|
|
2412
2417
|
*/
|
|
2413
2418
|
'jest/prefer-importing-jest-globals'?: Linter.RuleEntry<JestPreferImportingJestGlobals>;
|
|
2414
2419
|
/**
|
|
2415
2420
|
* Prefer `jest.mocked()` over `fn as jest.Mock`
|
|
2416
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2421
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-jest-mocked.md
|
|
2417
2422
|
*/
|
|
2418
2423
|
'jest/prefer-jest-mocked'?: Linter.RuleEntry<[]>;
|
|
2419
2424
|
/**
|
|
2420
2425
|
* Enforce lowercase test names
|
|
2421
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2426
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-lowercase-title.md
|
|
2422
2427
|
*/
|
|
2423
2428
|
'jest/prefer-lowercase-title'?: Linter.RuleEntry<JestPreferLowercaseTitle>;
|
|
2424
2429
|
/**
|
|
2425
2430
|
* Prefer mock resolved/rejected shorthands for promises
|
|
2426
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2431
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-mock-promise-shorthand.md
|
|
2427
2432
|
*/
|
|
2428
2433
|
'jest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
|
|
2429
2434
|
/**
|
|
2430
2435
|
* Prefer including a hint with external snapshots
|
|
2431
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2436
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-snapshot-hint.md
|
|
2432
2437
|
*/
|
|
2433
2438
|
'jest/prefer-snapshot-hint'?: Linter.RuleEntry<JestPreferSnapshotHint>;
|
|
2434
2439
|
/**
|
|
2435
2440
|
* Suggest using `jest.spyOn()`
|
|
2436
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2441
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-spy-on.md
|
|
2437
2442
|
*/
|
|
2438
2443
|
'jest/prefer-spy-on'?: Linter.RuleEntry<[]>;
|
|
2439
2444
|
/**
|
|
2440
2445
|
* Suggest using `toStrictEqual()`
|
|
2441
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2446
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-strict-equal.md
|
|
2442
2447
|
*/
|
|
2443
2448
|
'jest/prefer-strict-equal'?: Linter.RuleEntry<[]>;
|
|
2444
2449
|
/**
|
|
2445
2450
|
* Suggest using `toBe()` for primitive literals
|
|
2446
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2451
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-to-be.md
|
|
2447
2452
|
*/
|
|
2448
2453
|
'jest/prefer-to-be'?: Linter.RuleEntry<[]>;
|
|
2449
2454
|
/**
|
|
2450
2455
|
* Suggest using `toContain()`
|
|
2451
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2456
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-to-contain.md
|
|
2452
2457
|
*/
|
|
2453
2458
|
'jest/prefer-to-contain'?: Linter.RuleEntry<[]>;
|
|
2454
2459
|
/**
|
|
2455
2460
|
* Suggest using `toHaveLength()`
|
|
2456
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2461
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-to-have-length.md
|
|
2457
2462
|
*/
|
|
2458
2463
|
'jest/prefer-to-have-length'?: Linter.RuleEntry<[]>;
|
|
2459
2464
|
/**
|
|
2460
2465
|
* Suggest using `test.todo`
|
|
2461
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2466
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/prefer-todo.md
|
|
2462
2467
|
*/
|
|
2463
2468
|
'jest/prefer-todo'?: Linter.RuleEntry<[]>;
|
|
2464
2469
|
/**
|
|
2465
2470
|
* Require setup and teardown code to be within a hook
|
|
2466
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2471
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/require-hook.md
|
|
2467
2472
|
*/
|
|
2468
2473
|
'jest/require-hook'?: Linter.RuleEntry<JestRequireHook>;
|
|
2469
2474
|
/**
|
|
2470
2475
|
* Require a message for `toThrow()`
|
|
2471
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2476
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/require-to-throw-message.md
|
|
2472
2477
|
*/
|
|
2473
2478
|
'jest/require-to-throw-message'?: Linter.RuleEntry<[]>;
|
|
2474
2479
|
/**
|
|
2475
2480
|
* Require test cases and hooks to be inside a `describe` block
|
|
2476
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2481
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/require-top-level-describe.md
|
|
2477
2482
|
*/
|
|
2478
2483
|
'jest/require-top-level-describe'?: Linter.RuleEntry<JestRequireTopLevelDescribe>;
|
|
2479
2484
|
/**
|
|
2480
2485
|
* Enforce unbound methods are called with their expected scope
|
|
2481
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2486
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/unbound-method.md
|
|
2482
2487
|
*/
|
|
2483
2488
|
'jest/unbound-method'?: Linter.RuleEntry<JestUnboundMethod>;
|
|
2484
2489
|
/**
|
|
2485
2490
|
* Enforce valid `describe()` callback
|
|
2486
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2491
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/valid-describe-callback.md
|
|
2487
2492
|
*/
|
|
2488
2493
|
'jest/valid-describe-callback'?: Linter.RuleEntry<[]>;
|
|
2489
2494
|
/**
|
|
2490
2495
|
* Enforce valid `expect()` usage
|
|
2491
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2496
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/valid-expect.md
|
|
2492
2497
|
*/
|
|
2493
2498
|
'jest/valid-expect'?: Linter.RuleEntry<JestValidExpect>;
|
|
2494
2499
|
/**
|
|
2495
2500
|
* Require promises that have expectations in their chain to be valid
|
|
2496
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2501
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/valid-expect-in-promise.md
|
|
2497
2502
|
*/
|
|
2498
2503
|
'jest/valid-expect-in-promise'?: Linter.RuleEntry<[]>;
|
|
2504
|
+
/**
|
|
2505
|
+
* Disallow mocking of non-existing module paths
|
|
2506
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/valid-mock-module-path.md
|
|
2507
|
+
*/
|
|
2508
|
+
'jest/valid-mock-module-path'?: Linter.RuleEntry<JestValidMockModulePath>;
|
|
2499
2509
|
/**
|
|
2500
2510
|
* Enforce valid titles
|
|
2501
|
-
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.1
|
|
2511
|
+
* @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.2.1/docs/rules/valid-title.md
|
|
2502
2512
|
*/
|
|
2503
2513
|
'jest/valid-title'?: Linter.RuleEntry<JestValidTitle>;
|
|
2504
2514
|
/**
|
|
@@ -2756,6 +2766,11 @@ interface RuleOptions {
|
|
|
2756
2766
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
2757
2767
|
*/
|
|
2758
2768
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
|
|
2769
|
+
/**
|
|
2770
|
+
* Requires that Promise rejections are documented with `@rejects` tags.
|
|
2771
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-rejects.md#repos-sticky-header
|
|
2772
|
+
*/
|
|
2773
|
+
'jsdoc/require-rejects'?: Linter.RuleEntry<JsdocRequireRejects>;
|
|
2759
2774
|
/**
|
|
2760
2775
|
* Requires that returns are documented with `@returns`.
|
|
2761
2776
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
@@ -6808,6 +6823,11 @@ interface RuleOptions {
|
|
|
6808
6823
|
* @see https://eslint.org/docs/latest/rules/vars-on-top
|
|
6809
6824
|
*/
|
|
6810
6825
|
'vars-on-top'?: Linter.RuleEntry<[]>;
|
|
6826
|
+
/**
|
|
6827
|
+
* enforce using `.each` or `.for` consistently
|
|
6828
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-each-for.md
|
|
6829
|
+
*/
|
|
6830
|
+
'vitest/consistent-each-for'?: Linter.RuleEntry<VitestConsistentEachFor>;
|
|
6811
6831
|
/**
|
|
6812
6832
|
* require test file pattern
|
|
6813
6833
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
@@ -7025,7 +7045,7 @@ interface RuleOptions {
|
|
|
7025
7045
|
*/
|
|
7026
7046
|
'vitest/prefer-each'?: Linter.RuleEntry<[]>;
|
|
7027
7047
|
/**
|
|
7028
|
-
* enforce using the built-in
|
|
7048
|
+
* enforce using the built-in equality matchers
|
|
7029
7049
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
|
|
7030
7050
|
*/
|
|
7031
7051
|
'vitest/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
|
|
@@ -7144,6 +7164,11 @@ interface RuleOptions {
|
|
|
7144
7164
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
7145
7165
|
*/
|
|
7146
7166
|
'vitest/require-hook'?: Linter.RuleEntry<VitestRequireHook>;
|
|
7167
|
+
/**
|
|
7168
|
+
* require usage of import in vi.mock()
|
|
7169
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-import-vi-mock.md
|
|
7170
|
+
*/
|
|
7171
|
+
'vitest/require-import-vi-mock'?: Linter.RuleEntry<[]>;
|
|
7147
7172
|
/**
|
|
7148
7173
|
* require local Test Context for concurrent snapshot tests
|
|
7149
7174
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
@@ -10254,6 +10279,10 @@ type JestValidExpect = [] | [{
|
|
|
10254
10279
|
minArgs?: number;
|
|
10255
10280
|
maxArgs?: number;
|
|
10256
10281
|
}];
|
|
10282
|
+
// ----- jest/valid-mock-module-path -----
|
|
10283
|
+
type JestValidMockModulePath = [] | [{
|
|
10284
|
+
moduleFileExtensions?: string[];
|
|
10285
|
+
}];
|
|
10257
10286
|
// ----- jest/valid-title -----
|
|
10258
10287
|
type JestValidTitle = [] | [{
|
|
10259
10288
|
ignoreSpaces?: boolean;
|
|
@@ -10292,6 +10321,7 @@ type JsdocCheckExamples = [] | [{
|
|
|
10292
10321
|
}];
|
|
10293
10322
|
// ----- jsdoc/check-indentation -----
|
|
10294
10323
|
type JsdocCheckIndentation = [] | [{
|
|
10324
|
+
allowIndentedSections?: boolean;
|
|
10295
10325
|
excludeTags?: string[];
|
|
10296
10326
|
}];
|
|
10297
10327
|
// ----- jsdoc/check-line-alignment -----
|
|
@@ -10638,6 +10668,14 @@ type JsdocRequireParamType = [] | [{
|
|
|
10638
10668
|
defaultDestructuredRootType?: string;
|
|
10639
10669
|
setDefaultDestructuredRootType?: boolean;
|
|
10640
10670
|
}];
|
|
10671
|
+
// ----- jsdoc/require-rejects -----
|
|
10672
|
+
type JsdocRequireRejects = [] | [{
|
|
10673
|
+
contexts?: (string | {
|
|
10674
|
+
comment?: string;
|
|
10675
|
+
context?: string;
|
|
10676
|
+
})[];
|
|
10677
|
+
exemptedBy?: string[];
|
|
10678
|
+
}];
|
|
10641
10679
|
// ----- jsdoc/require-returns -----
|
|
10642
10680
|
type JsdocRequireReturns = [] | [{
|
|
10643
10681
|
checkConstructors?: boolean;
|
|
@@ -14834,6 +14872,13 @@ type UseIsnan = [] | [{
|
|
|
14834
14872
|
type ValidTypeof = [] | [{
|
|
14835
14873
|
requireStringLiterals?: boolean;
|
|
14836
14874
|
}];
|
|
14875
|
+
// ----- vitest/consistent-each-for -----
|
|
14876
|
+
type VitestConsistentEachFor = [] | [{
|
|
14877
|
+
test?: ("each" | "for");
|
|
14878
|
+
it?: ("each" | "for");
|
|
14879
|
+
describe?: ("each" | "for");
|
|
14880
|
+
suite?: ("each" | "for");
|
|
14881
|
+
}];
|
|
14837
14882
|
// ----- vitest/consistent-test-filename -----
|
|
14838
14883
|
type VitestConsistentTestFilename = [] | [{
|
|
14839
14884
|
pattern?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -487,12 +487,12 @@ const defineConfig = async ({ astro = false, autoDetect = true, gitignore = fals
|
|
|
487
487
|
stylisticConfig()
|
|
488
488
|
];
|
|
489
489
|
const featureConfigs = await Promise.all([
|
|
490
|
-
isTypescriptEnabled && unwrap(import("./typescript-
|
|
490
|
+
isTypescriptEnabled && unwrap(import("./typescript-w0LuBIDT.mjs")),
|
|
491
491
|
isReactEnabled && unwrap(import("./react-sWdvHd_J.mjs")),
|
|
492
492
|
isTanstackQueryEnabled && unwrap(import("./tanstack-query-D1gpzKY3.mjs")),
|
|
493
493
|
isAstroEnabled && unwrap(import("./astro-D3Zl135N.mjs")),
|
|
494
494
|
isJestEnabled && unwrap(import("./jest-DZtYWPoX.mjs")),
|
|
495
|
-
isVitestEnabled && unwrap(import("./vitest-
|
|
495
|
+
isVitestEnabled && unwrap(import("./vitest-57vZrKwy.mjs")),
|
|
496
496
|
isTestingLibraryEnabled && unwrap(import("./testing-library-BBWV3thw.mjs")),
|
|
497
497
|
isPlaywrightEnabled && unwrap(import("./playwright-CrBcE3qD.mjs")),
|
|
498
498
|
isStorybookEnabled && unwrap(import("./storybook-CyxpG33Q.mjs")),
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import { a as GLOB_JS, l as GLOB_TESTS, o as GLOB_JSX } from "./globs-C_yfK842.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/rules/typescript.ts
|
|
4
|
-
const disabledEslintRules = {
|
|
4
|
+
const disabledEslintRules = {
|
|
5
|
+
"no-unused-private-class-members": "off",
|
|
6
|
+
"no-use-before-define": "off"
|
|
7
|
+
};
|
|
5
8
|
const typescriptRules = {
|
|
9
|
+
...disabledEslintRules,
|
|
6
10
|
"@typescript-eslint/consistent-type-exports": ["error", { fixMixedExportsWithInlineTypeSpecifier: false }],
|
|
7
11
|
"@typescript-eslint/consistent-type-imports": ["error", { fixStyle: "separate-type-imports" }],
|
|
8
12
|
"@typescript-eslint/no-deprecated": "warn",
|
|
9
13
|
"@typescript-eslint/no-misused-promises": ["error", { checksVoidReturn: { attributes: false } }],
|
|
10
14
|
"@typescript-eslint/no-unnecessary-type-conversion": "error",
|
|
15
|
+
"@typescript-eslint/no-unused-private-class-members": "error",
|
|
11
16
|
"@typescript-eslint/no-unused-vars": ["error", {
|
|
12
17
|
args: "all",
|
|
13
18
|
argsIgnorePattern: "^_",
|
|
@@ -25,8 +30,7 @@ const typescriptRules = {
|
|
|
25
30
|
}],
|
|
26
31
|
"@typescript-eslint/no-useless-empty-export": "error",
|
|
27
32
|
"@typescript-eslint/restrict-template-expressions": ["error", { allowNumber: true }],
|
|
28
|
-
"@typescript-eslint/switch-exhaustiveness-check": "error"
|
|
29
|
-
...disabledEslintRules
|
|
33
|
+
"@typescript-eslint/switch-exhaustiveness-check": "error"
|
|
30
34
|
};
|
|
31
35
|
|
|
32
36
|
//#endregion
|
|
@@ -5,6 +5,12 @@ import { t as interopDefault } from "./interop-default-Bn64p66u.mjs";
|
|
|
5
5
|
const vitestRules = async () => {
|
|
6
6
|
return {
|
|
7
7
|
...(await interopDefault(import("@vitest/eslint-plugin"))).configs.recommended.rules,
|
|
8
|
+
"vitest/consistent-each-for": ["error", {
|
|
9
|
+
describe: "each",
|
|
10
|
+
it: "each",
|
|
11
|
+
suite: "each",
|
|
12
|
+
test: "each"
|
|
13
|
+
}],
|
|
8
14
|
"vitest/consistent-test-it": ["error", {
|
|
9
15
|
fn: "test",
|
|
10
16
|
withinDescribe: "it"
|
|
@@ -12,19 +18,12 @@ const vitestRules = async () => {
|
|
|
12
18
|
"vitest/consistent-vitest-vi": "error",
|
|
13
19
|
"vitest/hoisted-apis-on-top": "error",
|
|
14
20
|
"vitest/no-alias-methods": "error",
|
|
15
|
-
"vitest/no-commented-out-tests": "error",
|
|
16
21
|
"vitest/no-conditional-in-test": "error",
|
|
17
|
-
"vitest/no-disabled-tests": "warn",
|
|
18
22
|
"vitest/no-duplicate-hooks": "error",
|
|
19
|
-
"vitest/no-focused-tests": "error",
|
|
20
23
|
"vitest/no-hooks": "off",
|
|
21
|
-
"vitest/no-identical-title": "error",
|
|
22
|
-
"vitest/no-interpolation-in-snapshots": "error",
|
|
23
24
|
"vitest/no-large-snapshots": "off",
|
|
24
|
-
"vitest/no-mocks-import": "error",
|
|
25
25
|
"vitest/no-restricted-matchers": "off",
|
|
26
26
|
"vitest/no-restricted-vi-methods": "off",
|
|
27
|
-
"vitest/no-standalone-expect": "error",
|
|
28
27
|
"vitest/no-test-prefixes": "error",
|
|
29
28
|
"vitest/no-test-return-statement": "error",
|
|
30
29
|
"vitest/padding-around-all": "error",
|
|
@@ -55,8 +54,6 @@ const vitestRules = async () => {
|
|
|
55
54
|
"vitest/require-hook": "error",
|
|
56
55
|
"vitest/require-to-throw-message": "error",
|
|
57
56
|
"vitest/require-top-level-describe": "off",
|
|
58
|
-
"vitest/valid-expect": "error",
|
|
59
|
-
"vitest/valid-expect-in-promise": "error",
|
|
60
57
|
"vitest/valid-title": ["error", { mustMatch: { it: "^should" } }],
|
|
61
58
|
"vitest/warn-todo": "warn"
|
|
62
59
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jimmy.codes/eslint-config",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.21.0",
|
|
4
4
|
"description": "A simple, modern ESLint config that covers most use cases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
43
43
|
"@eslint/js": "^9.39.1",
|
|
44
|
-
"@next/eslint-plugin-next": "^16.0.
|
|
45
|
-
"@stylistic/eslint-plugin": "^5.
|
|
44
|
+
"@next/eslint-plugin-next": "^16.0.4",
|
|
45
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
46
46
|
"@tanstack/eslint-plugin-query": "^5.91.2",
|
|
47
47
|
"@types/eslint": "9.6.1",
|
|
48
|
-
"@typescript-eslint/parser": "^8.
|
|
49
|
-
"@typescript-eslint/utils": "^8.
|
|
50
|
-
"@vitest/eslint-plugin": "^1.
|
|
48
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
49
|
+
"@typescript-eslint/utils": "^8.48.0",
|
|
50
|
+
"@vitest/eslint-plugin": "^1.5.0",
|
|
51
51
|
"astro-eslint-parser": "^1.2.2",
|
|
52
52
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
53
53
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -55,28 +55,28 @@
|
|
|
55
55
|
"eslint-plugin-arrow-return-style-x": "^1.2.6",
|
|
56
56
|
"eslint-plugin-astro": "^1.5.0",
|
|
57
57
|
"eslint-plugin-import-x": "^4.16.1",
|
|
58
|
-
"eslint-plugin-jest": "^29.1
|
|
58
|
+
"eslint-plugin-jest": "^29.2.1",
|
|
59
59
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
60
|
-
"eslint-plugin-jsdoc": "^61.
|
|
60
|
+
"eslint-plugin-jsdoc": "^61.4.1",
|
|
61
61
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
62
62
|
"eslint-plugin-n": "^17.23.1",
|
|
63
63
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
64
64
|
"eslint-plugin-playwright": "^2.3.0",
|
|
65
65
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
66
|
-
"eslint-plugin-react-dom": "^2.3.
|
|
66
|
+
"eslint-plugin-react-dom": "^2.3.7",
|
|
67
67
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
68
|
-
"eslint-plugin-react-hooks-extra": "^2.3.
|
|
69
|
-
"eslint-plugin-react-naming-convention": "^2.3.
|
|
68
|
+
"eslint-plugin-react-hooks-extra": "^2.3.7",
|
|
69
|
+
"eslint-plugin-react-naming-convention": "^2.3.7",
|
|
70
70
|
"eslint-plugin-react-refresh": "0.4.24",
|
|
71
|
-
"eslint-plugin-react-web-api": "^2.3.
|
|
72
|
-
"eslint-plugin-react-x": "^2.3.
|
|
71
|
+
"eslint-plugin-react-web-api": "^2.3.7",
|
|
72
|
+
"eslint-plugin-react-x": "^2.3.7",
|
|
73
73
|
"eslint-plugin-regexp": "^2.10.0",
|
|
74
74
|
"eslint-plugin-storybook": "0.12.0",
|
|
75
|
-
"eslint-plugin-testing-library": "^7.13.
|
|
75
|
+
"eslint-plugin-testing-library": "^7.13.5",
|
|
76
76
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
77
77
|
"globals": "^16.5.0",
|
|
78
78
|
"local-pkg": "^1.1.2",
|
|
79
|
-
"typescript-eslint": "^8.
|
|
79
|
+
"typescript-eslint": "^8.48.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"eslint": "^9.10.0"
|