Skip to content

Commit

Permalink
Make eslint opt-in until it lands on stable (#23509)
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens authored Mar 29, 2021
1 parent fc286d6 commit 2ec2ea8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/next-server/server/config-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const defaultConfig: NextConfig = {
reactStrictMode: false,
eslint: {
dev: false,
build: true,
build: false,
},
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { eslint: { build: true } }
3 changes: 3 additions & 0 deletions test/integration/eslint/pkg-json-eslint-config/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
eslint: { build: true },
}

0 comments on commit 2ec2ea8

Please sign in to comment.