From 11c6e01f736e1671ec12e4f9b273a6d81fda6072 Mon Sep 17 00:00:00 2001 From: "k.ikemizu" Date: Sat, 18 Jan 2025 13:39:38 +0900 Subject: [PATCH] Update lefthook.yaml for biome check command --- lefthook.yaml | 10 +++++----- pkgs/subgraph/src/mapping.ts | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lefthook.yaml b/lefthook.yaml index c71a29d..646c7a8 100644 --- a/lefthook.yaml +++ b/lefthook.yaml @@ -1,5 +1,5 @@ -pre-commit: - commands: - check: - glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}" - run: npx biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true . && git update-index --again +# pre-commit: +# commands: +# check: +# glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}" +# run: npx biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true . && git update-index --again diff --git a/pkgs/subgraph/src/mapping.ts b/pkgs/subgraph/src/mapping.ts index 4bf7056..d480010 100644 --- a/pkgs/subgraph/src/mapping.ts +++ b/pkgs/subgraph/src/mapping.ts @@ -4,7 +4,6 @@ import type { InitialMint, TransferSingle, } from "../generated/FractionToken/FractionToken"; - import { InitializedFractionToken, TransferFractionToken,