@jimmy.codes/eslint-config 7.5.1 → 7.5.2

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
@@ -14411,6 +14411,7 @@ type PlaywrightMaxNestedDescribe = [] | [{
14411
14411
  }]; // ----- playwright/missing-playwright-await -----
14412
14412
  type PlaywrightMissingPlaywrightAwait = [] | [{
14413
14413
  customMatchers?: string[];
14414
+ includePageLocatorMethods?: boolean;
14414
14415
  }]; // ----- playwright/no-hooks -----
14415
14416
  type PlaywrightNoHooks = [] | [{
14416
14417
  allow?: unknown[];
@@ -14431,6 +14432,7 @@ type PlaywrightNoRestrictedRoles = [] | [(string | {
14431
14432
  })[]]; // ----- playwright/no-skipped-test -----
14432
14433
  type PlaywrightNoSkippedTest = [] | [{
14433
14434
  allowConditional?: boolean;
14435
+ disallowFixme?: boolean;
14434
14436
  }]; // ----- playwright/no-slowed-test -----
14435
14437
  type PlaywrightNoSlowedTest = [] | [{
14436
14438
  allowConditional?: boolean;
package/dist/index.mjs CHANGED
@@ -565,7 +565,7 @@ const defineConfig = async ({ astro = false, autoDetect = true, gitignore = fals
565
565
  isTestingLibraryEnabled && unwrap(import("./testing-library-B1I63Phd.mjs"), testingLibrary),
566
566
  isPlaywrightEnabled && unwrap(import("./playwright-hse_Mk2B.mjs"), playwright),
567
567
  isStorybookEnabled && unwrap(import("./storybook-Cmw5qksj.mjs"), storybook),
568
- isNextjsEnabled && unwrap(import("./nextjs-DheaBY3h.mjs"), nextjs)
568
+ isNextjsEnabled && unwrap(import("./nextjs-Buyxv06i.mjs"), nextjs)
569
569
  ]);
570
570
  return [
571
571
  ...gitignore ? [gitignoreConfig({ strict: false })] : [],
@@ -12,7 +12,7 @@ const nextjsRules = async (options) => {
12
12
  //#region src/configs/nextjs.ts
13
13
  async function nextjsConfig(options) {
14
14
  const extractedOptions = extractOptions(options);
15
- const nextjsPlugin = await import("@next/eslint-plugin-next");
15
+ const nextjsPlugin = await unwrapDefault(import("@next/eslint-plugin-next"));
16
16
  return [{
17
17
  files: GLOB_NEXTJS,
18
18
  name: "jimmy.codes/nextjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "7.5.1",
3
+ "version": "7.5.2",
4
4
  "description": "A simple, modern ESLint config that covers most use cases.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -47,7 +47,7 @@
47
47
  "@types/eslint": "9.6.1",
48
48
  "@typescript-eslint/parser": "^8.57.0",
49
49
  "@typescript-eslint/utils": "^8.57.0",
50
- "@vitest/eslint-plugin": "^1.6.10",
50
+ "@vitest/eslint-plugin": "^1.6.12",
51
51
  "astro-eslint-parser": "^1.3.0",
52
52
  "eslint-config-flat-gitignore": "^2.2.1",
53
53
  "eslint-config-prettier": "^10.1.8",
@@ -59,11 +59,11 @@
59
59
  "eslint-plugin-import-x": "^4.16.2",
60
60
  "eslint-plugin-jest": "^29.15.0",
61
61
  "eslint-plugin-jest-dom": "^5.5.0",
62
- "eslint-plugin-jsdoc": "^62.7.1",
62
+ "eslint-plugin-jsdoc": "^62.8.0",
63
63
  "eslint-plugin-jsx-a11y": "^6.10.2",
64
64
  "eslint-plugin-n": "^17.24.0",
65
65
  "eslint-plugin-perfectionist": "^5.6.0",
66
- "eslint-plugin-playwright": "^2.9.0",
66
+ "eslint-plugin-playwright": "^2.10.0",
67
67
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
68
68
  "eslint-plugin-react-dom": "^2.13.0",
69
69
  "eslint-plugin-react-hooks": "^7.0.1",