Skip to content

Commit

Permalink
chore: fix lint and format check for workflow (#23)
Browse files Browse the repository at this point in the history
* chore: fix lint and format check for workflow

* chore: fix lint
  • Loading branch information
jsun969 authored Oct 31, 2024
1 parent 2decdb4 commit 13893da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"prepare": "simple-git-hooks",
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint ./src",
"preview": "vite preview",
"format": "prettier --write \"**/*.{js,ts,tsx,css,md,cjs,mjs,json,html}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,css,json,mjs,cjs,yml,yaml}\"",
"format:check": "prettier --check \"**/*.{js,ts,tsx,css,md,cjs,mjs,json,html}\"",
"test": "vitest"
},
"dependencies": {
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 13893da

Please sign in to comment.