-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
CAR Team 2025-03-03, CAR Team 2025-03-17
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In SERVER-99572 we made eslint depends on a custom internal plugin eslint-plugin-mongodb .
This dependency was not reflected in package.json and thus this broke the direct usage of eslint command (not through bazel).
In particular, if I do:
// Install all dependencies from package.json npm install // Run eslint directly ./node_modules/eslint/bin/eslint.js
I get the following error
Oops! Something went wrong! :( ESLint: 9.19.0 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'eslint-plugin-mongodb' imported from /home/ael/data/mongodb/code/dev/eslint.config.mjs
- is caused by
-
SERVER-99572 Discourage new uses of print() in jstests through linting
-
- Closed
-