Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Oct 31, 2024
1 parent 029b4a5 commit fc561d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"prepare": "simple-git-hooks",
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"lint": "eslint ./src",
"preview": "vite preview",
"format": "prettier --write \"**/*.{js,ts,tsx,css,md,cjs,mjs,json,html}\"",
"format:check": "prettier --check \"**/*.{js,ts,tsx,css,md,cjs,mjs,json,html}\"",
Expand Down
1 change: 1 addition & 0 deletions src/utils/mount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ export const useMount = (fn: React.EffectCallback) => {
fn();
isMounted.current = true;
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
};

0 comments on commit fc561d6

Please sign in to comment.