Skip to content

Commit

Permalink
fix: 修复checker
Browse files Browse the repository at this point in the history
  • Loading branch information
huangmingfu committed Dec 17, 2024
1 parent 4daa910 commit 587b2a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/test/count/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function Count() {
setTimeout(() => {
hideLoading();
}, 1000);
}, []);
}, [hideLoading, showLoading]);

return (
<div className={prefixCls}>
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
checker({
typescript: true,
eslint: {
useFlatConfig: true,
lintCommand: 'eslint "./src/**/*.{ts,tsx}"'
}
})
Expand Down

0 comments on commit 587b2a5

Please sign in to comment.