From b0783705261d140ac63e24fe86aa9cbece2e7b5f Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 3 Jun 2024 08:28:58 -0400 Subject: [PATCH] Switch to recommended, not recommended-type-checked --- .../01-building-your-application/07-configuring/02-eslint.mdx | 2 +- packages/eslint-config-next/typescript.js | 2 +- test/integration/custom-routes/next.config.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/02-app/01-building-your-application/07-configuring/02-eslint.mdx b/docs/02-app/01-building-your-application/07-configuring/02-eslint.mdx index 1cada8ad240a9f..e626340a09604a 100644 --- a/docs/02-app/01-building-your-application/07-configuring/02-eslint.mdx +++ b/docs/02-app/01-building-your-application/07-configuring/02-eslint.mdx @@ -212,7 +212,7 @@ In addition to the Next.js ESLint rules, `create-next-app --typescript` will als } ``` -Those rules are based on [`plugin:@typescript-eslint/recommended-type-checked`](https://typescript-eslint.io/linting/configs#recommended-type-checked). +Those rules are based on [`plugin:@typescript-eslint/recommended`](https://typescript-eslint.io/linting/configs#recommended). See [typescript-eslint > Configs](https://typescript-eslint.io/linting/configs) for more details. ## Usage With Other Tools diff --git a/packages/eslint-config-next/typescript.js b/packages/eslint-config-next/typescript.js index 5374d162fdc3f4..810b7df219d98c 100644 --- a/packages/eslint-config-next/typescript.js +++ b/packages/eslint-config-next/typescript.js @@ -1,3 +1,3 @@ module.exports = { - extends: ['plugin:@typescript-eslint/recommended-type-checked'], + extends: ['plugin:@typescript-eslint/recommended'], } diff --git a/test/integration/custom-routes/next.config.js b/test/integration/custom-routes/next.config.js index 49de2992024090..8a88e3ee886853 100644 --- a/test/integration/custom-routes/next.config.js +++ b/test/integration/custom-routes/next.config.js @@ -18,7 +18,7 @@ module.exports = { { source: '/to-websocket', destination: - 'http://localhost:58219/_next/webpack-hmr?page=/about', + 'http://localhost:__EXTERNAL_PORT__/_next/webpack-hmr?page=/about', }, { source: '/websocket-to-page', @@ -94,7 +94,7 @@ module.exports = { }, { source: '/proxy-me/:path*', - destination: 'http://localhost:58219/:path*', + destination: 'http://localhost:__EXTERNAL_PORT__/:path*', }, { source: '/api-hello',