Reconfigure linters for ESM

This commit is contained in:
Nick Alteen
2024-11-15 11:38:36 -05:00
parent 7c73dd15ca
commit d6b1edd724
14 changed files with 158 additions and 139 deletions

View File

@ -37,49 +37,22 @@
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
},
"license": "MIT",
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
"@actions/core": "^1.11.1"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
"@github/local-action": "^2.2.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"@vercel/ncc": "^0.38.2",
"eslint": "^8.57.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jsonc": "^2.18.1",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"make-coverage-badge": "^1.2.0",