test: utilize new flat ESLint configuration (#294)

* test: utilize new flat ESLint configuration

* test: add TypeScript support to new flat ESLint config

* test: fix `@typescript-eslint/consistent-indexed-object-style` lint issue
This commit is contained in:
Alfi Maulana
2024-04-12 21:55:35 +07:00
committed by GitHub
parent 624017b76a
commit f06670a909
6 changed files with 45 additions and 22 deletions

View File

@@ -5,7 +5,7 @@
"scripts": {
"build": "ncc build src/index.ts",
"format": "prettier --write --cache . !dist !README.md",
"lint": "eslint src",
"lint": "eslint .",
"test": "jest"
},
"dependencies": {
@@ -13,17 +13,17 @@
"@actions/exec": "^1.1.1"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
"typescript": "^5.4.5",
"typescript-eslint": "^7.6.0"
},
"packageManager": "yarn@4.1.1"
}