Skip to content

Commit

Permalink
Merge branch 'canary' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Nov 7, 2024
2 parents 53b4620 + ab69166 commit c38463c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "vercel/next.js",
"directory": "packages/eslint-config-next"
},
"homepage": "https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config",
"homepage": "https://nextjs.org/docs/app/api-reference/config/eslint#eslint-config",
"dependencies": {
"@next/eslint-plugin-next": "15.0.3",
"@rushstack/eslint-patch": "^1.10.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `@next/eslint-plugin-next`

Documentation for `@next/eslint-plugin-next` can be found at:
https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-plugin
https://nextjs.org/docs/app/api-reference/config/eslint#eslint-plugin
2 changes: 1 addition & 1 deletion packages/next/src/lib/eslint/customFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export async function formatResults(
? output +
`\n\n${cyan(
'info'
)} - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/building-your-application/configuring/eslint#disabling-rules`
)} - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/api-reference/config/eslint#disabling-rules`
: '',
totalNextPluginErrorCount,
totalNextPluginWarningCount,
Expand Down
6 changes: 3 additions & 3 deletions packages/next/src/lib/eslint/runLintCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function cliPrompt(cwd: string): Promise<{ config?: any }> {
bold(
`${cyan(
'?'
)} How would you like to configure ESLint? https://nextjs.org/docs/app/building-your-application/configuring/eslint`
)} How would you like to configure ESLint? https://nextjs.org/docs/app/api-reference/config/eslint`
)
)

Expand Down Expand Up @@ -263,7 +263,7 @@ async function lint(
} else {
Log.warn('')
Log.warn(
'The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/app/building-your-application/configuring/eslint#migrating-existing-config'
'The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/app/api-reference/config/eslint#migrating-existing-config'
)
}

Expand Down Expand Up @@ -423,7 +423,7 @@ export async function runLintCheck(
if (selectedConfig == null) {
// Show a warning if no option is selected in prompt
Log.warn(
'If you set up ESLint yourself, we recommend adding the Next.js ESLint plugin. See https://nextjs.org/docs/app/building-your-application/configuring/eslint#migrating-existing-config'
'If you set up ESLint yourself, we recommend adding the Next.js ESLint plugin. See https://nextjs.org/docs/app/api-reference/config/eslint#migrating-existing-config'
)
return null
} else {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/server/config-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ export interface NextConfig extends Record<string, any> {

/**
* @since version 11
* @see [ESLint configuration](https://nextjs.org/docs/app/building-your-application/configuring/eslint)
* @see [ESLint configuration](https://nextjs.org/docs/app/api-reference/config/eslint)
*/
eslint?: ESLintConfig

Expand Down

0 comments on commit c38463c

Please sign in to comment.