Upgrade eslint

This commit is contained in:
Alex Miller 2024-09-11 13:03:47 +12:00
parent f81aac8ad0
commit 00461c6632
7 changed files with 629 additions and 364 deletions

View file

@ -5,14 +5,14 @@
"description": "Execute your workflow steps only if relevant files are modified.",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"tscheck": "tsc --noEmit",
"build": "tsc -b tsconfig.build.json",
"tscheck": "tsc",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"lint": "eslint",
"pack": "ncc build -m",
"test": "vitest",
"all": "pnpm run build && pnpm run format && pnpm run lint && pnpm run pack && pnpm test"
"all": "pnpm run build && pnpm run tscheck && pnpm run lint && pnpm run format && pnpm run pack && pnpm test run"
},
"repository": {
"type": "git",
@ -33,18 +33,25 @@
"micromatch": "^4.0.5"
},
"devDependencies": {
"@octokit/webhooks-types": "^7.3.1",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.10.0",
"@octokit/webhooks-types": "^7.5.1",
"@tsconfig/node20": "^20.1.2",
"@types/eslint__js": "^8.42.3",
"@types/js-yaml": "^4.0.9",
"@types/micromatch": "^4.0.2",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.56.0",
"eslint-plugin-github": "^4.10.1",
"prettier": "^3.2.4",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-github": "^5.0.1",
"prettier": "^3.3.3",
"typescript": "^5.3.3",
"typescript-eslint": "^8.5.0",
"vitest": "^2.0.5"
},
"volta": {