fix: update ESLint configuration file extension and add Jest globals as a dev dependency

This commit is contained in:
Salman Muin Kayser Chishti 2025-10-14 18:25:23 +01:00
parent 0b341692b6
commit 006364163b
8 changed files with 976 additions and 314 deletions

View file

@ -12,8 +12,8 @@
"build": "ncc build -o dist/setup src/setup-node.ts && ncc build -o dist/cache-save src/cache-save.ts",
"format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write \"**/*.{ts,yml,yaml}\"",
"format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check \"**/*.{ts,yml,yaml}\"",
"lint": "eslint --config ./.eslintrc.js \"**/*.ts\"",
"lint:fix": "eslint --config ./.eslintrc.js \"**/*.ts\" --fix",
"lint": "eslint --config ./.eslintrc.cjs \"**/*.ts\"",
"lint:fix": "eslint --config ./.eslintrc.cjs \"**/*.ts\" --fix",
"test": "node --experimental-vm-modules node_modules/.bin/jest --coverage",
"pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test"
},
@ -41,6 +41,7 @@
"uuid": "^11.1.0"
},
"devDependencies": {
"@jest/globals": "^30.2.0",
"@types/jest": "^29.5.14",
"@types/node": "^24.1.0",
"@types/semver": "^7.5.8",