Skip to content

Commit

Permalink
Enable lint messages in the server console but disable on browser
Browse files Browse the repository at this point in the history
  • Loading branch information
tokland committed Jul 25, 2024
1 parent 9431b89 commit 971f525
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ export default ({ mode }) => {
nodePolyfills(),
react(),
checker({
overlay: false,
typescript: true,
// eslint: { lintCommand: 'eslint "./src/**/*.{ts,tsx}"', dev: { logLevel: ["error"] } },
eslint: {
lintCommand: 'eslint "./src/**/*.{ts,tsx}"',
dev: {
logLevel: ["warning"],
},
},
}),
],
test: {
Expand Down

0 comments on commit 971f525

Please sign in to comment.