From f5cb8b3ee1a6e111d1cd7f6e9f38a5ad58d2fe81 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 25 Apr 2026 15:54:36 -0400 Subject: [PATCH] chore: replace prettier with biome Swap the repo's formatter check and dev shells over to Biome so JSON files are checked by the new tool without changing the existing Lua and Nix verification flow. --- biome.json | 14 ++++++++++++++ flake.nix | 4 ++-- justfile | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 biome.json diff --git a/biome.json b/biome.json new file mode 100644 index 0000000..e163e31 --- /dev/null +++ b/biome.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.11/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "files": { + "ignoreUnknown": true + }, + "formatter": { + "indentStyle": "space" + } +} diff --git a/flake.nix b/flake.nix index 4b8a2c0..3f823d5 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,7 @@ nlua ] )) - pkgs.prettier + pkgs.biome pkgs.stylua pkgs.neovim pkgs.selene @@ -47,7 +47,7 @@ nlua ] )) - pkgs.prettier + pkgs.biome pkgs.stylua pkgs.neovim pkgs.selene diff --git a/justfile b/justfile index 5e9d495..40c46f9 100644 --- a/justfile +++ b/justfile @@ -4,7 +4,7 @@ default: format: nix fmt -- --ci stylua --check . - prettier --check . + biome format . lint: git ls-files '*.lua' | xargs selene --display-style quiet