Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@typescript-eslint/parser": "^7.8.0",
"@vitest/coverage-v8": "^1.5.3",
"auto-changelog": "^2.4.0",
"eslint": "^8.55.0",
"eslint": "^10.6.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Candidate manifests and ESLint config files =="
fd -HI '^(package\.json|package-lock\.json|yarn\.lock|pnpm-lock\.yaml|\.eslintrc(\..+)?|eslint\.config\..+)$' .

echo
echo "== ESLint-related dependencies and config references =="
rg -n -C2 --glob 'package.json' --glob '.eslintrc*' --glob 'eslint.config.*' \
  '"eslint"|"`@typescript-eslint/`|eslint-plugin-|eslint-config-|eslint-import-resolver-|parser"|extends|plugins' .

echo
echo "== If present, inspect package manager constraints =="
fd -HI '^(package\.json|package-lock\.json|yarn\.lock|pnpm-lock\.yaml)$' . | xargs -r sed -n '1,220p'

Repository: lokalise/zod-extras

Length of output: 3973


🌐 Web query:

ESLint 10 legacy eslintrc support compatibility plugin parser @typescript-eslint/eslint-plugin 7 eslint-plugin-import 2.29.0 eslint-plugin-vitest 0.4.1

💡 Result:

As of June 2026, ESLint v10.0.0 (released February 2026) has completely removed support for the legacy eslintrc configuration system [1][2][3]. There is no way to enable legacy eslintrc support in ESLint 10 [1][4]. Regarding your specific dependencies and their compatibility: 1. @typescript-eslint/eslint-plugin 7: This version is not compatible with ESLint 10 [5][6]. Support for ESLint 10 was introduced in later versions of the @typescript-eslint/eslint-plugin package [6][7]. You must upgrade to a version that explicitly supports ESLint 10 [6]. 2. eslint-plugin-import 2.29.0: This version is incompatible with ESLint 10 [8]. You should migrate to eslint-plugin-import-x, which is a modern, performant, and compatible alternative for ESLint 10 [8]. 3. eslint-plugin-vitest 0.4.1: Similar to the other plugins, older versions of ecosystem plugins often lack compatibility with the architectural changes in ESLint 10. You should check for the latest release of eslint-plugin-vitest and upgrade accordingly. General Guidance for ESLint 10: - You must migrate your configuration to the Flat Config (eslint.config.js) format [1][9]. - If you rely on legacy plugins or configs that have not been updated, you may temporarily use the @eslint/compat utility, which provides functions like fixupPluginRules and fixupConfigRules to wrap older plugins for use in the Flat Config system [5]. Note, however, that this is a bridge and not a guarantee of full functionality for all plugins [5]. - Always ensure your plugins and parsers are updated to versions that support ESLint 10 to avoid runtime errors, as peer dependencies will often explicitly block installation or usage with incompatible ESLint versions [8].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== package.json and .eslintrc.json =="
cat -n package.json | sed -n '40,60p'
echo
cat -n .eslintrc.json

echo
echo "== peerDependencies and supported ESLint ranges from installed metadata, if available in lockfile =="
python3 - <<'PY'
import json, os
for path in ['package-lock.json','pnpm-lock.yaml','yarn.lock']:
    if os.path.exists(path):
        print(f'FOUND {path}')
PY

Repository: lokalise/zod-extras

Length of output: 2690


Migrate the ESLint config before landing eslint@^10.6.0
ESLint 10 no longer supports .eslintrc.json, and this repo still relies on it. The current @typescript-eslint/*, eslint-plugin-import, and eslint-plugin-vitest versions also need to be moved to ESLint 10–compatible releases or the lint task will fail.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 50, The dependency bump to eslint@^10.6.0 is blocked by
the repo still using .eslintrc.json and by plugin versions that are not ESLint
10 compatible. Update the lint configuration to the new ESLint 10 config format
and adjust the related package versions in package.json for
`@typescript-eslint/`*, eslint-plugin-import, and eslint-plugin-vitest so they are
compatible before landing the eslint upgrade.

"eslint-plugin-import": "^2.29.0",
"eslint-plugin-vitest": "0.4.1",
"prettier": "^3.1.1",
Expand Down
Loading