Skip to content

Commit 16789fe

Browse files
committed
fix: resolve all lint warnings across monorepo
1 parent 19b54f7 commit 16789fe

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

apps/web/biome.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"correctness": {
3636
"noUnusedVariables": {
3737
"level": "warn"
38-
}
38+
},
39+
"useExhaustiveDependencies": "off"
3940
}
4041
}
4142
},

apps/web/src/components/organisms/MapComponent/hooks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ export function useMapComponent({
329329
// マップ初期化(一度だけ実行、依存関係は意図的に除外)
330330
// 注意: この useEffect は意図的に依存関係を空にしています
331331
// 依存関係を追加するとマップが何度も再初期化されて問題を起こすためです
332+
// biome-ignore lint/correctness/useExhaustiveDependencies: Map initialization should only happen once
332333
useEffect(() => {
333334
if (!mapContainerRef.current || mapInitializedRef.current) return;
334335

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"typescript": "^5"
6363
},
6464
"lint-staged": {
65-
"*.{js,jsx,ts,tsx}": ["biome check --apply", "biome format --write"],
65+
"*.{js,jsx,ts,tsx}": ["biome check --write", "biome format --write"],
6666
"apps/web/**/*.ts?(x)": ["cd apps/web && npx tsc --noEmit"],
6767
"apps/api/**/*.ts?(x)": ["cd apps/api && npx tsc --noEmit"],
6868
"packages/shared-types/**/*.ts?(x)": [

0 commit comments

Comments
 (0)