From b5da347637d1058546e6df9d35dbae9f59197890 Mon Sep 17 00:00:00 2001 From: Mike Rourke Date: Mon, 6 Jan 2025 18:22:04 -0600 Subject: [PATCH] chore: fix import ordering --- package.json | 2 +- src/getChordDisplay.ts | 6 +++--- src/isChordPressed.ts | 4 ++-- src/tables.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index ff0674c..debba4e 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "ci": "biome ci src", "docs:generate": "typedoc --options typedoc.json", "docs:serve": "mkdir -p ./site && cd ./site && bunx vite", - "format": "biome format --write src", + "format": "biome check --formatter-enabled=true --linter-enabled=false --organize-imports-enabled=true --write src", "format:tests": "bunx prettier \"src/**/*.test.ts\" --write --print-width 100", "lint": "biome lint src", "test": "bun test", diff --git a/src/getChordDisplay.ts b/src/getChordDisplay.ts index 6700d9d..5e374c7 100644 --- a/src/getChordDisplay.ts +++ b/src/getChordDisplay.ts @@ -7,12 +7,12 @@ import { tokensDisplayTable, } from "./tables.ts"; import { - Modifier, - MouseButton, - type MouseEventButton, type Chord, type ChordedEvent, type Key, + Modifier, + MouseButton, + type MouseEventButton, type Token, } from "./types.ts"; diff --git a/src/isChordPressed.ts b/src/isChordPressed.ts index da4acb4..9eb974b 100644 --- a/src/isChordPressed.ts +++ b/src/isChordPressed.ts @@ -3,11 +3,11 @@ import { isPlatform } from "@laserware/arcade"; import { getKeyForLookup, hasTokenInChord, stripToken } from "./common.ts"; import { eventKeyByKeyEnumTable } from "./tables.ts"; import { + type Chord, + type ChordedEvent, Modifier, MouseButton, MouseEventButton, - type Chord, - type ChordedEvent, } from "./types.ts"; /** diff --git a/src/tables.ts b/src/tables.ts index c6bd0fe..9d0d491 100644 --- a/src/tables.ts +++ b/src/tables.ts @@ -1,12 +1,12 @@ import { isPlatform } from "@laserware/arcade"; import { + type Chord, Key, + type KeyModifierState, Modifier, MouseButton, MouseEventButton, - type Chord, - type KeyModifierState, } from "./types.ts"; /**