From b4c216ce5062c38718f15e0b9ef95b39cf3e23c8 Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:58:15 +0000 Subject: [PATCH] refactor(nix): simplify oxfmt includes to wildcard pattern Replace explicit file extension list with wildcard pattern for oxfmt formatter configuration. The --no-error-on-unmatched-pattern flag handles unsupported file types gracefully, making the explicit list unnecessary. --- flake.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index c4c4545..7c8c94a 100644 --- a/flake.nix +++ b/flake.nix @@ -67,18 +67,7 @@ settings.formatter.oxfmt = { command = "${pkgs.oxfmt}/bin/oxfmt"; options = [ "--no-error-on-unmatched-pattern" ]; - includes = [ - "*.md" - "*.yml" - "*.yaml" - "*.json" - "*.ts" - "*.tsx" - "*.js" - "*.jsx" - "*.html" - "*.css" - ]; + includes = [ "*" ]; excludes = [ "CHANGELOG.md" ];