Skip to content
This repository was archived by the owner on Nov 6, 2026. It is now read-only.

chore(deps): drop eslint-config-mongodb-js and mongodb-js-precommit COMPASS-11197 - #47

Open
ivandevp wants to merge 1 commit into
masterfrom
COMPASS-11197-drop-eslint-config-mongodb-js
Open

ivandevp wants to merge 1 commit into
masterfrom
COMPASS-11197-drop-eslint-config-mongodb-js

Conversation

@ivandevp

@ivandevp ivandevp commented Nov 6, 2026

Copy link
Copy Markdown

Description

Drop eslint-config-mongodb-js and mongodb-js-precommit; lint with a direct eslint devDependency (eslint:recommended, node and mocha envs). npm run check is now eslint ..

  • Three no-useless-escape errors surfaced (\$ in a character class, \" in two strings); the escapes are removed with no behavior change.
  • Lint: 0 errors; tests unchanged (50 passing, 6 pending).
  • package-lock.json is regenerated from lockfile v1 to v3, which is most of the diff. The old lockfile also pulled git dependencies via mongodb-js-precommit, which broke npm ci.

Motivation

COMPASS-11197 (epic COMPASS-10890): eslint-config-mongodb-js and mongodb-js-precommit are unscoped packages with external npm owners, and we want to remove the unnecessary write access to the mongodb-js org. Dropping them from consumers is the agreed alternative to republishing them.

@nbbeeken nbbeeken left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This repo is for mongodb-ns which we moved to devtools-shared, I think it's only unarchived because we needed one last SARIF report, before all our stuff was moved.

We don't release from this so we can just close the repo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants