Skip to content

Commit

Permalink
fix: make eslint enable default for nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Mar 27, 2024
1 parent b38adf8 commit 7db540d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion questions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ export const askQuestions = async (
}

if (program.framework !== "fastapi" && program.eslint === undefined) {
if (ciInfo.isCI) {
if (ciInfo.isCI || program.framework === "nextjs") {
program.eslint = getPrefOrDefault("eslint");
} else {
const styledEslint = blue("ESLint");
Expand Down

0 comments on commit 7db540d

Please sign in to comment.