feat: Update linting commands to use npx eslint with increased memory limit and caching

This commit is contained in:
Simon Larsen
2025-06-24 21:45:10 +01:00
parent 9e63a4cbf5
commit fe879d86ce
2 changed files with 2 additions and 425 deletions

View File

@@ -37,8 +37,8 @@
"prerun": "bash configure.sh",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
"uninstall": "bash uninstall.sh",
"lint": "bash ./Scripts/lint-batches.sh",
"fix-lint": "bash ./Scripts/lint-batches.sh --fix",
"lint": "export NODE_OPTIONS='--max-old-space-size=32768' && npx eslint . --cache",
"fix-lint": "export NODE_OPTIONS='--max-old-space-size=32768' && npx eslint . --fix --cache",
"fix": "npm run fix-lint",
"status-check": "bash ./Tests/Scripts/status-check.sh $npm_config_services",
"start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services && npm run status-check",