chore: enhance ESLint config for TypeScript support and update package dependencies in package.json

This commit is contained in:
Bram Suurd
2024-10-10 22:01:01 +02:00
parent c1956d4d21
commit 70669ae5b4
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"]
}

BIN
bun.lockb

Binary file not shown.

View File

@@ -53,7 +53,10 @@
"@types/node": "^22",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^9.11.1",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"eslint": "^8",
"eslint-config-next": "^14.2.15",
"postcss": "^8",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.6.5",