fix backend ESLint

This commit is contained in:
Hazelnoot 2025-10-03 12:58:15 -04:00
parent 3fc17fd0ee
commit 86a8614ef8
9 changed files with 59 additions and 143 deletions

View file

@ -23,7 +23,12 @@
"restart": "pnpm build && pnpm start",
"dev": "node ./scripts/dev.mjs",
"typecheck": "pnpm --filter megalodon build && tsc --noEmit && tsc -p test --noEmit && tsc -p test-federation --noEmit",
"eslint": "eslint --quiet \"{src,test-federation,test,js,@types}/**/*.{js,jsx,ts,tsx,vue}\" --cache",
"eslint-all": "pnpm run --no-bail eslint:backend && pnpm run --no-bail eslint:test && pnpm run --no-bail eslint:test-federation && pnpm run --no-bail eslint:test-server",
"eslint": "pnpm run eslint:backend && pnpm run eslint:test && pnpm run eslint:test-federation && pnpm run eslint:test-server",
"eslint:backend": "eslint --quiet --cache -c eslint.config.js .",
"eslint:test": "eslint --quiet --cache -c test/eslint.config.js ./test",
"eslint:test-federation": "eslint --quiet --cache -c test-federation/eslint.config.js ./test-federation",
"eslint:test-server": "eslint --quiet --cache -c test-server/eslint.config.js ./test-server",
"lint": "pnpm typecheck && pnpm eslint",
"jest": "cross-env NODE_ENV=test node ./jest.js --forceExit --config jest.config.unit.cjs",
"jest:e2e": "cross-env NODE_ENV=test node ./jest.js --forceExit --config jest.config.e2e.cjs",