Files
probo/packages/eslint-config/package.json
Émile Ré 4d28dab2f4 Centralize ESLint into a single root config
Replace the duplicated per-workspace eslint.config.mjs files in
apps/console, apps/trust, packages/ui, and packages/eslint-config with
one root eslint.config.mjs that reuses the shared @probo/eslint-config
rule sets and scopes them per directory. Linting now runs from the repo
root, so pin the type-checked project service root and broaden the
import-x resolver to every workspace tsconfig (the #/* aliases live in
each app's tsconfig.app.json).

Drop the now-redundant per-package lint scripts and lint-only devDeps,
and add a root lint script that runs eslint over the four dirs with
multithreading restored via --concurrency auto, then lints n8n-node
through a direct workspace call. packages/n8n-node keeps its own
external preset.

Collapse the redundant lint-js -> npm-lint Makefile chain into a single
lint-js target and update the make docs accordingly.

Signed-off-by: Émile Ré <emile@probo.com>
2026-06-19 16:47:43 +02:00

41 lines
1.1 KiB
JSON

{
"name": "@probo/eslint-config",
"version": "1.0.0",
"private": true,
"description": "Shared ESLint configuration for Probo monorepo",
"main": "./src/index.ts",
"type": "module",
"exports": {
".": {
"default": "./src/index.ts"
}
},
"imports": {
"#baseConfigs": "./src/baseConfigs.ts",
"#tsConfigs": "./src/tsConfigs.ts",
"#reactConfigs": "./src/reactConfigs.ts",
"#relayConfigs": "./src/relayConfigs.ts",
"#importsConfigs": "./src/importsConfigs.ts",
"#languageOptionsConfigs": "./src/languageOptionsConfigs.ts",
"#stylisticConfigs": "./src/stylisticConfigs.ts"
},
"scripts": {},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@probo/eslint-plugin-relay-types": "^1.0.0",
"@stylistic/eslint-plugin": "^5.10.0",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-relay": "^2.0.0",
"eslint": "^10.5.0",
"globals": "^17.6.0",
"jiti": "^2.2.0",
"typescript-eslint": "^8.61.1",
"typescript": "~6.0.3"
}
}