Skip to content

Commit

Permalink
refactor: update files for Biome
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerourke committed Jan 7, 2025
1 parent 244a6ab commit e75132a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/getChordDisplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
tokensDisplayTable,
} from "./tables.ts";
import {
Key,
Modifier,
MouseButton,
MouseEventButton,
type MouseEventButton,
type Chord,
type ChordedEvent,
type Key,
type Token,
} from "./types.ts";

Expand Down Expand Up @@ -48,7 +48,7 @@ export function getChordDisplay(

export function getChordDisplay(
chordOrEvent: Chord | ChordedEvent,
joinSymbol: string = " + ",
joinSymbol = " + ",
): string {
const tokens =
typeof chordOrEvent === "number"
Expand Down
2 changes: 1 addition & 1 deletion src/handleChords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export function handleChords<E extends ChordedEvent>(
return handleChord(event, chordsOrBuilder, listener);
}

// prettier-ignore
// biome-ignore format:
const handler: ChordHandler<E> = {
on(chords: ChordInput, listener: ChordMatchListener<E>): ChordHandler<E> {
handleChord(event, chords, listener);
Expand Down

0 comments on commit e75132a

Please sign in to comment.