Skip to content

chore(deps): drop eslint-config-mongodb-js COMPASS-11197 - #9

Merged
ivandevp merged 1 commit into
mainfrom
COMPASS-11197-drop-eslint-config-mongodb-js
Nov 6, 2026
Merged

ivandevp merged 1 commit into
mainfrom
COMPASS-11197-drop-eslint-config-mongodb-js

Conversation

@ivandevp

@ivandevp ivandevp commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Description

Drop the eslint-config-mongodb-js devDependency and extend eslint:recommended (plus the existing @typescript-eslint/recommended), with node, es6 and mocha envs. The react/sort-comp override is removed with it.

  • Two lint errors surfaced and are fixed: a stale eslint-disable-next-line chai-friendly/... comment (that plugin was never installed here) and a useless \' escape in a template string. No behavior change.
  • Lint: 0 errors; depcheck, tsc and tests (32) pass.
  • package-lock.json only loses the old config's dependency tree.

Motivation

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

@ivandevp
ivandevp merged commit f0cd99d into main Nov 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants