Skip to content

Commit

Permalink
[ESLint] Update default .eslintrc file created to have .json form…
Browse files Browse the repository at this point in the history
…at (#26884)
  • Loading branch information
housseindjirdeh authored Jul 5, 2021
1 parent ba88bfd commit f1fe4bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/lib/eslint/writeDefaultConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ export async function writeDefaultConfig(
}
} else {
await fs.writeFile(
'.eslintrc',
'.eslintrc.json',
CommentJson.stringify(defaultConfig, null, 2) + os.EOL
)

console.log(
chalk.green(
`We created the ${chalk.bold(
'.eslintrc'
'.eslintrc.json'
)} file for you and included the base Next.js ESLint configuration.`
)
)
Expand Down

0 comments on commit f1fe4bb

Please sign in to comment.