Migrate compliance-portal to the global ESLint config

The compliance-portal app still carried the per-workspace ESLint
scaffold that the rest of the monorepo dropped when linting was
centralized into the root eslint.config.mjs. It defined its own
local config, lint script, and lint-only devDeps, and was not
covered by the root lint script, so it was never linted.

Remove the local eslint.config.mjs, the lint script, and the
eslint/@probo/eslint-config devDeps, then add the app to the root
appDirs so the shared ts, react, and relay rule sets apply to it.

Replace the explicit per-directory list in the root lint script
with a bare `eslint .`, which the root config was already designed
for via its globalIgnores. Ignore pkg/** so the vendored minified
JS under the Go tree is not linted.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-06-19 17:41:03 +02:00
parent 5bc6452eb6
commit c9cc46d359
5 changed files with 80 additions and 17 deletions

View File

@@ -13,7 +13,7 @@
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "eslint apps/console apps/trust packages/ui packages/eslint-config --concurrency auto && npm -w @probo/n8n-nodes-probo run lint",
"lint": "eslint . --concurrency auto && npm -w @probo/n8n-nodes-probo run lint",
"check": "turbo run check",
"relay": "relay-compiler"
},