Skip to content

Commit

Permalink
Switch to recommended, not recommended-type-checked
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jun 3, 2024
1 parent 3d25890 commit b078370
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-next/typescript.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
extends: ['plugin:@typescript-eslint/recommended-type-checked'],
extends: ['plugin:@typescript-eslint/recommended'],
}
4 changes: 2 additions & 2 deletions test/integration/custom-routes/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -94,7 +94,7 @@ module.exports = {
},
{
source: '/proxy-me/:path*',
destination: 'http://localhost:58219/:path*',
destination: 'http://localhost:__EXTERNAL_PORT__/:path*',
},
{
source: '/api-hello',
Expand Down

0 comments on commit b078370

Please sign in to comment.