mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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.
(cherry picked from commit 45e309e3a3)
This commit is contained in:
committed by
github-actions[bot]
parent
991c8e5b86
commit
be04fab4f2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user