From b13b10736be887e9afb008af68441f5d0c8ec10d Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 17 Feb 2025 17:46:56 -0600 Subject: [PATCH] Fix linting in pnpm 10 --- package.json | 3 +++ pnpm-lock.yaml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/package.json b/package.json index 0cfe6503..ef79babb 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,9 @@ "viewerjs": "^1.11.7" }, "devDependencies": { + "@eslint/eslintrc": "^3.2.0", "@next/bundle-analyzer": "15.1.7", + "@next/eslint-plugin-next": "^15.1.7", "@tailwindcss/container-queries": "^0.1.1", "@tailwindcss/forms": "^0.5.10", "@tailwindcss/postcss": "^4.0.6", @@ -62,6 +64,7 @@ "cross-fetch": "^4.1.0", "eslint": "9.20.1", "eslint-config-next": "15.1.7", + "eslint-plugin-react-hooks": "^5.1.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "postcss": "8.5.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e1dbf1d8..33a12097 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,9 +111,15 @@ importers: specifier: ^1.11.7 version: 1.11.7 devDependencies: + '@eslint/eslintrc': + specifier: ^3.2.0 + version: 3.2.0 '@next/bundle-analyzer': specifier: 15.1.7 version: 15.1.7 + '@next/eslint-plugin-next': + specifier: ^15.1.7 + version: 15.1.7 '@tailwindcss/container-queries': specifier: ^0.1.1 version: 0.1.1(tailwindcss@4.0.6) @@ -162,6 +168,9 @@ importers: eslint-config-next: specifier: 15.1.7 version: 15.1.7(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) + eslint-plugin-react-hooks: + specifier: ^5.1.0 + version: 5.1.0(eslint@9.20.1(jiti@2.4.2)) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@22.13.4)(ts-node@10.9.2(@types/node@22.13.4)(typescript@5.7.3))