[monorepo] turn throw statements in callback code into callback calls (#33524)

* [eslint-plugin] add rule for throw inside callback code

* [monorepo] enable our custom eslint plugins globally

* [monorepo] fix running make lint from root

* [monorepo] turn throw statements in callback code into callback calls

* [monorepo] add eslint-plugin libraries to all the Dockerfiles

* [monorepo] install eslint-plugin library at the root level

* [linked-url-proxy] add eslint-plugin library into Dockerfile

* [latexqc] add our eslint-plugin to eslint config

GitOrigin-RevId: b05e3ebbefb62370f2422e83880dd3913815270d
This commit is contained in:
Jakob Ackermann
2026-05-13 10:54:09 +02:00
committed by Copybot
parent d8df893593
commit b62d4814c3
30 changed files with 149 additions and 14 deletions

View File

@@ -7259,7 +7259,6 @@ __metadata:
"@overleaf/access-token-encryptor": "workspace:*"
"@overleaf/codemirror-tree-view": "npm:^0.1.3"
"@overleaf/dictionaries": "https://github.com/overleaf/dictionaries/archive/refs/tags/v0.0.3.tar.gz"
"@overleaf/eslint-plugin": "workspace:*"
"@overleaf/fetch-utils": "workspace:*"
"@overleaf/logger": "workspace:*"
"@overleaf/metrics": "workspace:*"
@@ -22649,6 +22648,7 @@ __metadata:
"@babel/preset-env": "npm:^7.28.5"
"@babel/preset-react": "npm:^7.28.5"
"@babel/register": "npm:^7.28.3"
"@overleaf/eslint-plugin": "workspace:*"
"@overleaf/fetch-utils": "workspace:*"
"@overleaf/o-error": "workspace:*"
"@popperjs/core": "npm:^2.11.8"
@@ -25970,6 +25970,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "overleaf@workspace:."
dependencies:
"@overleaf/eslint-plugin": "workspace:*"
"@prettier/plugin-pug": "npm:^3.4.0"
"@types/chai": "npm:^4.3.0"
"@types/chai-as-promised": "npm:^7.1.8"