Skip to content
Open
Show file tree
Hide file tree
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
35 changes: 28 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"valibot": "^1.4.1"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@eslint/js": "^10.0.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
rg -n '"eslint"\s*:' package.json pnpm-lock.yaml
fd -HI '(node-version|\\.nvmrc|\\.node-version|\\.tool-versions|Dockerfile|workflow)' . \
  -x rg -n '18|20|22|24|node-version|NODE_VERSION' {}

Repository: TestSprite/testsprite-cli

Length of output: 3341


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- package.json (relevant sections) ---'
cat -n package.json | sed -n '1,140p'

echo
echo '--- Node/tooling version files ---'
fd -HI '(^|\.)(nvmrc|node-version|tool-versions)$|^Dockerfile$|^.*workflow.*\.yml$|^.*workflow.*\.yaml$' . \
  | sort

echo
echo '--- Search for Node engine/version constraints ---'
rg -n 'engines|node-version|NODE_VERSION|20\.19|22\.13|24\+|22\b|20\b|18\b' \
  .github package.json .nvmrc .node-version .tool-versions Dockerfile 2>/dev/null || true

Repository: TestSprite/testsprite-cli

Length of output: 3911


Bump eslint to match @eslint/js 10.0.1. @eslint/js@10.0.1 expects eslint: ^10.0.0, but this file still pins eslint to ^9.14.0, so the lint stack is mismatched.

🤖 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 57, Update the eslint dependency in package.json from
^9.14.0 to a ^10.0.0-compatible version matching `@eslint/js` ^10.0.1, while
leaving the existing `@eslint/js` dependency unchanged.

"@types/node": "^22.9.0",
"@vitest/coverage-v8": "^2.1.4",
"eslint": "^9.14.0",
Expand Down
Loading