diff --git a/package-lock.json b/package-lock.json index 62c6a36..47c3d03 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "npm": ">=8" }, "peerDependencies": { - "@next/eslint-plugin-next": "^13.4.11 || ^14.1.4", + "@next/eslint-plugin-next": "^13.4.11 || ^14.1.4 || ^15", "@typescript-eslint/eslint-plugin": "^6.1.0 || ^7.3.1", "eslint": "^8.45.0", "eslint-import-resolver-typescript": "^3.5.5", @@ -46,7 +46,7 @@ "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.33.0", - "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-hooks": "^4.6.0 || ^5", "eslint-plugin-tailwindcss": "^3.13.0", "prettier": "^3.0.0" }, diff --git a/package.json b/package.json index 8ea28c9..26bd7af 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "react-dom": "^18.2.0" }, "peerDependencies": { - "@next/eslint-plugin-next": "^13.4.11 || ^14.1.4", + "@next/eslint-plugin-next": "^13.4.11 || ^14.1.4 || ^15", "@typescript-eslint/eslint-plugin": "^6.1.0 || ^7.3.1", "eslint": "^8.45.0", "eslint-import-resolver-typescript": "^3.5.5", @@ -82,7 +82,7 @@ "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.33.0", - "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-hooks": "^4.6.0 || ^5", "eslint-plugin-tailwindcss": "^3.13.0", "prettier": "^3.0.0" }, diff --git a/ts-next.js b/ts-next.js index 3f524ed..4991d01 100644 --- a/ts-next.js +++ b/ts-next.js @@ -1,11 +1,12 @@ module.exports = { extends: [ './ts-react.js', - 'plugin:@next/next/core-web-vitals', - 'plugin:prettier/recommended' + 'next/core-web-vitals', + 'next/typescript', + 'plugin:prettier/recommended', ], rules: { curly: ['error', 'all'], - '@next/next/no-img-element': 'off' - } + '@next/next/no-img-element': 'off', + }, }