From 795127553dfdae7ab534a6c5b1f7a7cd90ffbfa7 Mon Sep 17 00:00:00 2001 From: Kayshen-X Date: Sat, 9 May 2026 20:59:24 +0800 Subject: [PATCH] chore(format): exclude vendor/skia-safe-op from prettier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pre-commit hook runs `bun run format` (prettier via oxfmt) on every staged commit; without a prettierignore entry the hook keeps reformatting the upstream-original Cargo.toml / Cargo.toml.orig files inside vendor/skia-safe-op/{skia-bindings,skia-safe}/ to use 2-space indent + flow-style author arrays — drift against the crates.io tarball form that we want to preserve so the diff against upstream rust-skia stays minimal and auditable. Same treatment vendor/agent/ and vendor/jian/ already get. --- .prettierignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.prettierignore b/.prettierignore index 76d81d45a..cc0c2da47 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,6 +4,9 @@ packages/agent-native/ vendor/agent/ vendor/jian/ +# Vendored fork of rust-skia — keep upstream Cargo.toml / .orig formatting +# byte-identical so the diff against upstream stays minimal. +vendor/skia-safe-op/ # Rust build artifacts target/