Skip to content

Commit 57964fe

Browse files
committed
package.json: explicitly add the globals dev dependency
This is needed allow `npm run lint` to run again after the Jest version bump switched us over to a flat ESLint configuration that assumes the shared globals catalog is available. Without explicitly declaring that package, `npm run lint` fails because Node cannot resolve the import inside `eslint.config.mjs`. Assisted-by: GPT-5-Codex Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 09de9e5 commit 57964fe

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

package-lock.json

Lines changed: 20 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"eslint-plugin-github": "^5.1.8",
4646
"eslint-plugin-jest": "^29.0.1",
4747
"eslint-plugin-prettier": "^5.5.4",
48+
"globals": "^15.8.0",
4849
"jest": "^30.2.0",
4950
"jest-circus": "^29.7.0",
5051
"js-yaml": "^4.1.0",

0 commit comments

Comments
 (0)