From 45e309e3a389d0e0ab83c180852f6396c11cbcdb Mon Sep 17 00:00:00 2001 From: George Macon Date: Wed, 24 Jun 2026 09:56:48 -0400 Subject: [PATCH] ci/treefmt: enable or-identifier rule All remaining unquoted uses of or as an identifier were removed in PR #475723, so this rule can now be enabled to prevent it from coming back. --- ci/treefmt.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/ci/treefmt.nix b/ci/treefmt.nix index 2d0a782c7ace..29419056dd77 100644 --- a/ci/treefmt.nix +++ b/ci/treefmt.nix @@ -118,8 +118,6 @@ "--ignore=sema-unused-def-lambda-witharg-arg" "--ignore=sema-unused-def-lambda-witharg-formal" "--ignore=sema-unused-def-let" - # Keep this rule, because we have `lib.or`. - "--ignore=or-identifier" # TODO: remove after outstanding prelude diagnostics issues are fixed: # https://github.com/nix-community/nixd/issues/761 # https://github.com/nix-community/nixd/issues/762